How to take advantage of Structured Outputs
outputType
to structured
in your API requeststructuredOutputSchema
parameterstructuredOutputSchema
- the system will use the query response to fill the
outputCompany Revenue Example
This example extracts company classification information:
Movie Information Example
This example shows how to retrieve basic information about a movie:
Weather Information Example
This example retrieves weather information for travel planning:
required
in your json schema.
structuredOutputSchema
- the system will use the query response to fill the output