Interface: BuildOpenUiSystemPromptOptions
用于自定义生成的 OpenUI 系统提示词的选项。
Extends
Properties
appendix?
optionalappendix?:string
componentGroups?
optionalcomponentGroups?:ComponentGroup[]
额外的组件分组;禁用默认组件时则为完整的分组集合。
Inherited from
CreateOpenUiPromptLibraryOptions.componentGroups
componentNames?
optionalcomponentNames?: readonlystring[]
将内置组件限制为这些名称,并自动保留选定的根组件。 自定义组件始终追加;禁用默认组件时忽略此选项。
Default Value
Example
Inherited from
CreateOpenUiPromptLibraryOptions.componentNames
components?
optionalcomponents?:OpenUiPromptComponent[]
额外的组件;禁用默认组件时则为完整的组件集合。
Inherited from
CreateOpenUiPromptLibraryOptions.components
includeDefaultComponents?
optionalincludeDefaultComponents?:boolean
是否包含内置组件和组件分组。
Default Value
true
Inherited from
CreateOpenUiPromptLibraryOptions.includeDefaultComponents
promptOptions?
optionalpromptOptions?:PromptOptions
root?
optionalroot?:string
根组件名称;禁用默认组件时需自行提供其定义。
Default Value
'Stack'