Documentation
Features

Structured Outputs

Enforce JSON schemas on provider responses.

Orbyt supports structured outputs to ensure provider responses strictly follow your provided JSON schema. This is invaluable for extracting data or building reliable agentic workflows.

usage

const completion = await openai.chat.completions.create({
  model: "gpt-4o-mini",
  messages: [...],
  response_format: { type: "json_object" }
});

On this page