Options for the structured chat resource.
API
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: KnownModelIds |
Signal < KnownModelIds >;
retries?: number;
schema: Schema;
system: string | Signal <string>;
tools?: Tools[];
}
StructuredChatResourceOptions
@type
Schema
s.HashbrownType
@type
Tools
Chat.AnyTool
@type
Output
s.Infer<Schema>