Skip to content

Add response_mime_type support to generationConfig #31

Open
@DrAliRagab

Description

According to google docs here https://ai.google.dev/docs/gemini_api_overview#json
We can instruct Gemini to return json by adding "response_mime_type": "application/json" to generationConfig

I hope this will be added to generationConfig

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