AnthropicOutputFormat

Represents the output format for Anthropic structured output. Currently supports JSON schema format for constraining model output.

Inheritors

Types

Link copied to clipboard
@SerialName(value = "json_schema")
data class JsonSchema(val schema: JsonObject) : AnthropicOutputFormat

JSON schema output format that constrains model output to match a given schema.