Skip to content

Add Anthropic Claude Structured Output support #4889

@tzolov

Description

@tzolov

Anthropic have introduced Structured outputs feature for their API.

Structured outputs constrain Claude’s responses to follow a specific schema, ensuring valid, parseable output for downstream processing. Use JSON outputs (output_format) for

Extend the AnthropicApi and AnthropicChatOptions to enable support for the new structured outputs feature.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions