Content
summary Summary

OpenAI announced Structured Outputs, a new API feature that ensures AI-generated content conforms to developer-specified JSON schemas. The company is also hosting DevDay events for developers in San Francisco, London and Singapore.

Ad

The Structured Outputs feature addresses a common challenge in AI development: generating structured data from unstructured input.

Developers struggle to extract information such as tasks, due dates, and owners, for example, from meeting notes in a consistent format. They often rely on complex prompting techniques and multiple queries to achieve the desired output structure.

Structured Outputs attempts to solve this problem by requiring OpenAI models to follow the exact JSON schemas provided by developers. The company says it has also improved the models' ability to understand complex schemas.

Ad
Ad

In an evaluation of compliance with complex JSON schemas, OpenAI says that its latest model achieves 100 percent reliability, compared to less than 40 percent for GPT-4-0613.

Structured Outputs is now available for all models that support function calling, including GPT-4, GPT-3.5 and all fine-tunes of these models.

The new feature is now available for all models supporting function calling, including GPT-4, GPT-3.5, and their fine-tuned versions. Developers can use the "response_format" parameter to specify a JSON schema for the response, a function available in the latest GPT-4 models. Documentation is available on OpenAI's website.

OpenAI DevDay events

In addition, OpenAI announced that it will hold its developer conference DevDay in three cities this fall: San Francisco (October 1), London (October 30) and Singapore (November 21).

The events will feature workshops, panel discussions, demos, networking opportunities, and developer spotlights. The program will focus on API advancements, developer tools, and community projects.

Recommendation

Due to limited space, developers must register by August 15. The registration fee is $450, with scholarships available for those who need financial assistance.

Ad
Ad
Join our community
Join the DECODER community on Discord, Reddit or Twitter - we can't wait to meet you.
Support our independent, free-access reporting. Any contribution helps and secures our future. Support now:
Bank transfer
Summary
  • OpenAI introduces Structured Outputs for its API, enabling AI-generated outputs to reliably match developer-defined JSON schemas.
  • According to OpenAI, the latest OpenAI model achieves 100 percent reliability in matching complex JSON schemas in an evaluation, compared to less than 40 percent for GPT-4-0613.
  • OpenAI also announced its DevDay developer conference this fall in San Francisco, London, and Singapore, featuring workshops, panel discussions, demos, networking, and developer spotlights.
Sources
Online journalist Matthias is the co-founder and publisher of THE DECODER. He believes that artificial intelligence will fundamentally change the relationship between humans and computers.
Join our community
Join the DECODER community on Discord, Reddit or Twitter - we can't wait to meet you.