Options for the useStructuredChat
hook.
interface UseStructuredChatOptions<Schema extends s.HashbrownType, Tools extends Chat.AnyTool, Output extends s.Infer<Schema> = s.Infer<Schema>> {
debounceTime?: number;
debugName?: string;
messages?: Chat.Message<Output, Tools>[];
model: string;
retries?: number;
schema: Schema;
system: string;
tools?: Tools[];
}
@type
Schema
s.HashbrownType
@type
Tools
Chat.AnyTool
@type
Output
s.Infer<Schema>