a2ui-project / a2ui-project/a2ui

Implement agent library support and a demo of streaming generation with progressive rendering

Ouverte
#471 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
component: agent_sdk P2 type: feature/enhancement
Langage dominant
TypeScript
Étoiles
16.4k
Forks
1.3k
Merge moyen
2 j 13 h
PR mergées (30 j)
134

Description

We should build an example which demonstrates generating a UI incrementally using streamed output from the LLM.

I attempted this in https://github.com/google/A2UI/pull/123 but didn't get it fully working

Decisions to make:
- Should we generate the A2UI format directly, or some simplified version of it which is more optimised for streaming?
- What message order works best, especially between data model update and component updates? Perhaps the use case could not use a data model, so it's just component updates?

See https://github.com/google/A2UI/issues/470 for a request relating to this.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Review the linked pull request #123 to see the previous attempt. Examine the A2UI format and the agent library to understand the streaming mechanism. The demo likely involves modifying or creating a component in the examples directory that uses an LLM to stream updates. Determine the message order for data model vs. component updates by experimenting with the existing codebase.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
typescript
Domaine
ai-infra-agents, frontend
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.