by nl · 6mo ago · 0 comments
There are other options that are good too. Gemini 3.1 Flash Lite is great for this kind of thing (NOT Gemini 3.5 Flash though - the pricing for that is bad).
Ie, instead of telling it to generate
<name>Name</name>
<age>19</name>
<address>whatever</name>
give it a function details(name: string, age: int, address: string)
That is actually a JSON schema, and the models do great at it. Here's the claude docs, but they are all similar: https://platform.claude.com/docs/en/agents-and-tools/tool-us...Very interested in the full run details.