Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was burned by this for a while because I assumed structured output ordering would be preserved.

You can specify ordering in the Gemini API with propertyOrdering:

"propertyOrdering": ["recipeName", "ingredients"]



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: