Skip to content

[Feature]: Support Gemini API's response_json_schema #16340

@mattgiles

Description

@mattgiles

The Feature

It would be great if use of Gemini models made use of their first class support for json schema when defining structured output: https://blog.google/technology/developers/gemini-api-structured-outputs/

Motivation, pitch

It seems that this paved path in the Gemini interface is purported to have superior performance, and may be attractive to libraries that make use of litellm (e.g. dspy).

LiteLLM is hiring a founding backend engineer, are you interested in joining us and shipping to all our users?

No

Twitter / LinkedIn details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions