Skip to content

Support for Json Schema with Gemini #2087

@aleksabl

Description

@aleksabl

The current implementation allows passing a JSON schema to OpenAI using OpenAiChatOptions.setResponseFormat, where a ResponseFormat with a specified JSON schema can be provided. However, this functionality is not available in VertexAiGeminiChatOptions. In the latter, you can only specify the contentType without the ability to include a schema.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions