Ask a question to get started
Enter to sendā¢Shift+Enter new line
Model wrapper that returns outputs formatted to match the given schema.
with_structured_output( self, schema: dict | type[BaseModel], *, include_raw: bool = False, **kwargs: Any = {} ) -> Runnable[LanguageModelInput, dict | BaseModel]