| ▲ | gwerbin 7 hours ago | ||||||||||||||||||||||||||||||||||||||||||||||||||||
We were messing around at work last week building an AI agent that was supposed to only respond with JSON data. GPT and Sonnet more or less what we wanted, but Gemma insisted on giving us a Python code snippet. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | otabdeveloper4 7 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
> that was supposed to only respond with JSON data. You need to constrain token sampling with grammars if you actually want to do this. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | cubefox 5 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
Gemma≠Gemini | |||||||||||||||||||||||||||||||||||||||||||||||||||||