a2ui-project / a2ui-project/a2ui

Implement Python inference and inflation library

Đang mở
#722 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
component: agent_sdk P2 sprint ready type: feature/enhancement
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ả

Build the central Python SDK responsible for managing the request-time lifecycle of a template-based UI.a

Proposed tasks:
- [ ] Automated Prompt Builder: Create a utility to ingest template libraries and extract minimal schemas for LLM system prompts: https://github.com/nan-yu/A2UI/blob/c319fe70337c0a041ae0c7933bc95e5d7b94afcc/agent_sdks/python/src/a2ui/core/template/manager.py.
- [ ] Inflation: Implement logic to traverse a template and replace all `{{}}` placeholders with literal values from the LLM's data model.
- [ ] Handle the logic for mapping LLM-returned `templateName` to the local template storage.
- [ ] **Optional**: Support native data binding by leveraging the [dataModelUpdate](https://github.com/google/A2UI/blob/main/specification/v0_8/json/server_to_client.json#L70) schema, allowing the client to resolve placeholders reactively.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.