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;}@typeSchemas.SchemaOutput@typeToolsChat.AnyTool@typeOutputs.InferSchemaOutput<Schema>ReactiveOption<string>The API URL to use for the structured chat resource.
numberThe debounce time for the structured chat resource.
stringThe debug name for the structured chat resource.
Chat.Message<Output, Tools>[]The initial messages for the structured chat resource.
ReactiveOption<ModelInput>The model to use for the structured chat resource.
numberThe number of retries for the structured chat resource.
SchemaThe schema to use for the structured chat resource.
Chat.Api.StructuredOutputOptionsControls how the provider is asked to produce structured output.
ReactiveOption<string>The system prompt to use for the structured chat resource.
ReactiveOption<string | undefined>Optional thread identifier used to load or continue an existing conversation.
Tools[]The tools to use for the structured chat resource.
TransportOrFactoryCustom transport override for the structured chat resource.
booleanWhether this structured chat is generating UI content.