Creates a structured chat resource.
declare function structuredChatResource<Schema extends s.HashbrownType, Tools extends Chat.AnyTool, Output extends s.Infer<Schema> = s.Infer<Schema>>(options: StructuredChatResourceOptions<Schema, Tools, Output>): StructuredChatResourceRef<Output, Tools>;
@param
options
The options for the structured chat resource.
StructuredChatResourceOptions<Schema, Tools, Output>
@type
Schema
s.HashbrownType
@type
Tools
Chat.AnyTool
@type
Output
s.Infer<Schema>
@returns
StructuredChatResourceRef<Output, Tools>