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

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions