a2ui-project / a2ui-project/a2ui

Finalize A2UI template schema and data-binding syntax

オープン
#721 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る
component: agent_sdk P2 sprint ready type: feature/enhancement
主要言語
TypeScript
スター
16.4k
フォーク
1.3k
平均マージ
2日 13時間
マージ済み PR(30日)
134

説明

Establish the formal technical contract for how templates are stored and validated to ensure interoperability between the Composer and the Agent SDK.

While https://github.com/google/A2UI/pull/365/ provides an initial [A2UI_COMPONENT_CATALOG](https://github.com/maxkorp/A2UI/blob/72fd136002d24aa786e773744236fad3283e0bb1/a2ui-composer/src/app/api/copilotkit/a2ui-prompt.ts#L4-L39), we need a reusable specification for the Template.

The schema can be stored in the `template` sub-package of the Agent SDK.

Proposed tasks:
- [ ] Define the template schema in the Agent SDK
- [ ] Formalize the syntax for dynamic placeholders using `{{}}`
- [ ] Document the template schema to standardize how the LLM returns selected template names and populated data
- [ ] Provide a catalog of 3-5 reference templates as examples.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Look at the existing A2UI_COMPONENT_CATALOG in the composer's a2ui-prompt.ts file. The work is in the Agent SDK's 'template' sub-package. Define a JSON schema for templates, specify the {{}} placeholder syntax, and create example templates. Check linked PR #365 for context.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
backend-api-design, documentation
issue の種類
ドキュメント
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。