genui / a2ui-prompt
#a2ui-prompt
#索引
#接口
| Interface | 描述 |
|---|---|
| A2UICatalog | Prompt-ready A2UI catalog including components, rules, examples, and optional client functions. |
| A2UIComponentProp | Prompt-facing description of a single A2UI component prop. |
| A2UIComponentSpec | Prompt-facing component specification derived from a catalog manifest. |
| A2UIExample | Validated user request and message sequence included as an in-context A2UI example. |
| A2UIFunctionSpec | Prompt-facing schema for a client-side function the agent may call. |
| BuildSystemPromptOptions | Options used to customize the generated A2UI system prompt. |
| JsonSchema | JSON Schema subset used in prompt-facing catalog descriptions. |
| ReadA2UICatalogDirectoryOptions | Options for loading generated A2UI catalog artifacts from a directory. |
#变量
| Variable | 描述 |
|---|---|
| A2UI_PROTOCOL_VERSION | - |
| A2UI_SYSTEM_PROMPT | - |
| BASIC_CATALOG | - |
| BASIC_CATALOG_EXAMPLES | - |
| BASIC_CATALOG_ID | - |
#函数
| Function | 描述 |
|---|---|
| buildA2UISystemPrompt | Build the full A2UI system prompt for the supplied catalog. |
| createA2UICatalogFromManifests | Convert generated component manifests into a prompt-ready A2UI catalog. |
| readA2UICatalogFromDirectory | Read generated component and function manifests and convert them into a prompt-ready A2UI catalog. |
| renderCatalogReference | Render an A2UI catalog into the Markdown reference embedded in prompts. |