|
|
|
|
|
by veonik
215 days ago
|
|
I have had fairly bad luck specifying the JSONSchema for my structured outputs with Gemini. It seems like describing the schema with natural language descriptions works much better, though I do admit to needing that retry hack at times. Do you have any tips on getting the most out of a schema definition? |
|
But also Gemini supports contrained generation which can't fail to match a schema, so why not use that instead of prompting?