Options for the structured chat resource.
API
interface StructuredChatResourceOptions<Schema extends s.SchemaOutput, Tools extends Chat.AnyTool, Output extends s.InferSchemaOutput<Schema> = s.InferSchemaOutput<Schema>> {apiUrl?: ReactiveOption<string>;debounce?: number;debugName?: string;messages?: Chat.Message<Output, Tools>[];model: ReactiveOption < ModelInput >;retries?: number;schema: Schema;structuredOutput?: Chat.Api.StructuredOutputOptions;system: ReactiveOption <string>;threadId?: ReactiveOption<string | undefined>;tools?: Tools[];transport?: TransportOrFactory;ui?: boolean;}StructuredChatResourceOptions
@typeSchemas.SchemaOutput@typeToolsChat.AnyTool@typeOutputs.InferSchemaOutput<Schema>apiUrl
ReactiveOption<string>The API URL to use for the structured chat resource.
debounce
numberThe debounce time for the structured chat resource.
debugName
stringThe debug name for the structured chat resource.
messages
Chat.Message<Output, Tools>[]The initial messages for the structured chat resource.
model
ReactiveOption<ModelInput>The model to use for the structured chat resource.
retries
numberThe number of retries for the structured chat resource.
schema
SchemaThe schema to use for the structured chat resource.
structuredOutput
Chat.Api.StructuredOutputOptionsControls how the provider is asked to produce structured output.
system
ReactiveOption<string>The system prompt to use for the structured chat resource.
threadId
ReactiveOption<string | undefined>Optional opaque AG-UI thread identity.
tools
Tools[]The tools to use for the structured chat resource.
transport
TransportOrFactoryCustom transport override for the structured chat resource.
ui
booleanWhether this structured chat is generating UI content.