Ask a question to get started
Enter to sendā¢Shift+Enter new line
with_structured_output( self, schema, *, method: str = 'function_calling', include_raw: bool = False
schema
unknown
Output schema (Pydantic model, TypedDict, or JSON schema)
method
str
'function_calling'
Method to use ("function_calling")
include_raw
bool
False
Whether to include raw response
**kwargs
{}
Use LLM intelligence to implement structured output.
This method uses Snowflake Cortex Complete's reasoning capabilities to understand the desired output schema and format responses accordingly.
Additional keyword arguments