For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/api/genui/a2ui-prompt/index.md.
Lynx
  • 简体中文
  • genui / a2ui-prompt

    a2ui-prompt

    索引

    接口

    Interface描述
    A2UICatalogPrompt-ready A2UI catalog including components, rules, examples, and optional client functions.
    A2UIComponentPropPrompt-facing description of a single A2UI component prop.
    A2UIComponentSpecPrompt-facing component specification derived from a catalog manifest.
    A2UIExampleValidated user request and message sequence included as an in-context A2UI example.
    A2UIFunctionSpecPrompt-facing schema for a client-side function the agent may call.
    BuildSystemPromptOptionsOptions used to customize the generated A2UI system prompt.
    JsonSchemaJSON Schema subset used in prompt-facing catalog descriptions.
    ReadA2UICatalogDirectoryOptionsOptions for loading generated A2UI catalog artifacts from a directory.

    变量

    函数

    Function描述
    buildA2UISystemPrompt-
    buildA2UISystemPromptAsync-
    createA2UICatalogFromManifestsConvert generated component manifests into a prompt-ready A2UI catalog.
    loadBasicCatalog-
    readA2UICatalogFromDirectoryRead generated component and function manifests and convert them into a prompt-ready A2UI catalog.
    renderCatalogReferenceRender an A2UI catalog into the Markdown reference embedded in prompts.
    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。