2024
PLACEAI
Getting structured answers from an LLM into a native iOS interface
iOS Developer

Project Overview
PlaceAI was my first experiment with connecting an LLM to a mobile app. The app asks the Gemini API for activity ideas in West Sumatra and instructs the model to answer only with a JSON array of places, activities, and prices. The app parses that answer and shows it as a native SwiftUI list.
What I Did
- Built the iOS app with SwiftUI.
- Wrote the prompt that limits the model’s answer to a fixed JSON structure the app can parse directly.
Tech Stack
- SwiftUI
- Gemini API
Results & Limitations
- The app works when the model follows the requested format, but it does not yet handle answers that break the structure.
- The model generates the place details and prices, and the app does not check them against real data.
What I’m Exploring
- How can an app get reliable, structured output from an LLM, and what should it do when the model breaks the format or invents facts?
This question later shaped the validation and citation checks in Studify.