Type Alias StructuredOutputMethodParams<RunOutput, IncludeRaw>
Type Parameters
- RunOutput
- IncludeRaw extends boolean = false
Type declaration
Optional
includeRaw?: IncludeRaw
Optional
method?: "functionCalling" | "jsonMode"
Optional
name?: string
schema: z.ZodType<RunOutput> | Record<string, any>
Deprecated
Pass schema in as the first argument