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

    创建 headless OpenUI prompt 库的选项。

    继承于

    属性

    componentGroups?

    optional componentGroups?: ComponentGroup[]

    替换或扩展内置的组件分组。


    componentNames?

    optional componentNames?: readonly string[]

    将内置项限制为这些名称。自定义的 components 仍会被追加。


    components?

    optional components?: OpenUiPromptComponent[]

    替换或扩展内置的组件集合。


    root?

    optional root?: string

    覆盖根组件名称。默认为 'Stack'。

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。