GenkitG
Genkit2y ago
5 replies
inadequate-blush

Generate JSON output with the Gemini API...

Is it normal to hack around ```json ``` markers with markdown strip? can we pass responseMimeType: "application/json" type of call like https://ai.google.dev/gemini-api/docs/json-mode?lang=node#supply-schema-in-prompt
Google for Developers
Learn how to generate JSON output with the Gemini API
Generate JSON output with the Gemini API  |  Google for Developers
Was this page helpful?