Skip to content

OpenAI: Use Structured Outputs #1627

Description

@MrSerth

OpenAI recently introduced Structured Outputs in their API, allowing developers to specify a JSON schema that the response should adhere to. For CodeHarbor, that could be useful to split a potential code response more easily from an explanation when generating unit tests.

The ruby-openai gem we use currently discusses the possibility to integrate structured outputs natively: https://github.com/alexrudall/ruby-openai/issues/508.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions