OpenAI Structured Output + Pydantic: Adding Support for Default Values
OpenAI recently released strict structured output as a part of their API. We have made heavy use of function calling to extract structured output, but having top-level support for generating output conforming to a JSON schema both cleans up our inter...
engineering.fractional.ai4 min read