Skip to content

Support for Json Schema with Gemini #2087

Open
@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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions