Ask a question to get started
Enter to sendā¢Shift+Enter new line
withStructuredOutput< RunOutput extends Record<string, any> = Record<string, any> >(
schema
Record<string, any> | ZodType<RunOutput, ZodTypeDef, RunOutput>
config
StructuredOutputMethodOptions<false>
Model wrapper that returns outputs formatted to match the given schema.