Structured Outputs gets nifty improvements

OpenAI has made some improvements to Structured Outputs:

:fishing_pole: Parallel function calling now works with strict mode—ensuring calls reliably adhere to schema

:gear: Many more keywords are now supported, letting you specify:

  • Output string lengths and formats via regex or formats like email
  • Min/max ranges for numbers
  • Min/max elements in arrays
  • and more!

Read the full set of structured output improvements in docs: https://platform.openai.com/docs/guides/structured-outputs?api-mode=responses#supported-schemas

3 Likes