Requesting support for StructuredInput and StructuredOutput for pydantic models?
Currently we can send a massive JSON schema for both the prompt and the extraction schema. but would love some kind of https://python.useinstructor.com/ instructor structured output based on pydantic models so we can leverage typing and model validations based on responses?
Requesting support for StructuredInput and StructuredOutput for pydantic models?
Currently we can send a massive JSON schema for both the prompt and the extraction schema. but would love some kind of https://python.useinstructor.com/ instructor structured output based on pydantic models so we can leverage typing and model validations based on responses?