For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/genui/openui/prompt/interfaces/BuildOpenUiSystemPromptOptions.md.
Lynx
  • English
  • Interface: BuildOpenUiSystemPromptOptions

    Options used to customize the generated OpenUI system prompt.

    Extends

    Properties

    appendix?

    optional appendix?: string


    componentGroups?

    optional componentGroups?: ComponentGroup[]

    Additional groups, or the complete set when defaults are disabled.

    Inherited from

    CreateOpenUiPromptLibraryOptions.componentGroups


    componentNames?

    optional componentNames?: readonly string[]

    Limit built-ins to these names, retaining the selected root automatically. Custom components are always appended. Ignored when defaults are disabled.

    Default Value

    All built-in components.

    Example

    `componentNames: ['Stack', 'Text']`

    Inherited from

    CreateOpenUiPromptLibraryOptions.componentNames


    components?

    optional components?: OpenUiPromptComponent[]

    Additional components, or the complete set when defaults are disabled.

    Inherited from

    CreateOpenUiPromptLibraryOptions.components


    includeDefaultComponents?

    optional includeDefaultComponents?: boolean

    Whether to include the built-in components and component groups.

    Default Value

    true

    Inherited from

    CreateOpenUiPromptLibraryOptions.includeDefaultComponents


    promptOptions?

    optional promptOptions?: PromptOptions


    root?

    optional root?: string

    Root component name; supply its definition when defaults are disabled.

    Default Value

    'Stack'

    Inherited from

    CreateOpenUiPromptLibraryOptions.root

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.