(no title)
veonik
|
3 months 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?
BoorishBears|3 months ago
But also Gemini supports contrained generation which can't fail to match a schema, so why not use that instead of prompting?
astrange|3 months ago