a2ui-project / a2ui-project/a2ui
Implement agent library support and a demo of streaming generation with progressive rendering
- Ngôn ngữ chính
- TypeScript
- Star
- 16.4k
- Fork
- 1.3k
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 134
Mô tả
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.
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- ai-infra-agents, frontend
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100