Skip to content

Add response_mime_type support to generationConfig #31

@DrAliRagab

Description

@DrAliRagab

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions