Options for the structured chat resource.
interface StructuredChatResourceOptions<Schema extends s.HashbrownType, Tools extends Chat.AnyTool, Output extends s.Infer<Schema> = s.Infer<Schema>> {
apiUrl?: string;
debounce?: number;
debugName?: string;
messages?: Chat.Message<Output, Tools>[];
model: string | Signal<string>;
retries?: number;
schema: Schema;
system: string | Signal<string>;
tools?: Tools[];
}
@type
Schema
s.HashbrownType
@type
Tools
Chat.AnyTool
@type
Output
s.Infer<Schema>