hashbrown

StructuredOutputOptions

Options for structured output generation.

API

interface StructuredOutputOptions  {
}
mode
StructuredOutputMode

The structured output mode to use.

  • strict sends the schema to providers that support schema-constrained output. - json asks the provider for JSON without schema-constrained decoding. - tool uses the reserved output tool for emulated structured output.