Structured AI output in Flutter: Gemini, OpenAI, Claude
by Qihu Zhang dev.to
5 min read
Short answer: all three APIs can return JSON that matches a schema you send. Each wants the schema in its own dialect: Gemini takes upper-case type names, OpenAI's strict mode needs every property required and additionalProperties: false, and Claude needs additionalProperties: false on every object. Write the schema once and convert it per vendor, or use gemini_openai_claude, which does the conve…
Topics AI in Flutter apps
More like this
- Article 10 min read
A map drawn by its users: how we built map and style marketplaces in TapMap
by
Yurii Nazarenko
, on Flutter Pro
Yurii Nazarenko
@psyhopat 🇹🇭 Thailand
Founder of TapMap, a social network built on maps: where to go right now, and with whom. Flutter for Android, iOS and web from one codebase, Mapbox, self-hosted...
View Yurii on Flutter ProTL;DR. TapMap has two marketplaces. In the first one people publish maps: anyone collects their own set of places, and others switch it on as a layer over the main map. In the second one people publis...
Read on dev.to
Article 3 min readAI writes my code just fine. It still couldn't draw one person.
by BT_Sun
I'm a solo developer from South Korea. I started coding about seven months ago. I use a translator and AI to help me write in English. My app, Party Picker, has 21 party games. Friends use one phone t...
Read on dev.to- Article 8 min read
Flutter Voice AI: Real-Time Speech Feedback
by Muhammad Uzair
Adding voice to a mobile app sounds like a solved problem until you ship one. A recognizer that works beautifully in a quiet-room demo turns flaky on a crowded bus, partial transcripts flicker in and...
Read on dev.to - Article 2 min read
I built a free weather app that talks: how the AI morning briefing works
by Balaji G
Read on dev.to