Multimodal
Localize AI
Find cafes by text or image
See it on Devpost
The story
LocalizeAI helps you find a café or restaurant in Jakarta the way you actually think about it: type a vague sentence, or upload a photo of a place whose mood you like. We built it for the MongoDB AI Hackathon: Code for a Cause, out of our own habit of hunting for good work-from-café spots.
I built the LLM service and the backend. The core is CLIP (ViT-L/14), which embeds images and text into the same vector space, so a photo and a sentence can both be matched against places in MongoDB Atlas Vector Search. A Llama model on Amazon Bedrock turns vague queries into better search keywords, with Groq as the fallback when Bedrock is down, and LangSmith traces the calls. A change-stream watcher embeds new reviews as they arrive. Around it sit a NestJS API with Redis caching and S3 uploads, and a React PWA built by Ayu Sudi Dwijayanti and designed by Muhammad Dani Asyrofi.
We gathered data on over 400 cafés and restaurants. I explain the multimodal idea in this article.
Highlights
- Search by text or by photo, with CLIP embeddings in one shared space
- Over 400 Jakarta cafés and restaurants collected and embedded
- Amazon Bedrock Llama for query understanding, Groq as fallback
- Built for the MongoDB AI Hackathon: Code for a Cause (2024)
- Shipped as a PWA, usable in the browser without an install
Stack
Gallery
Resources
- Demo video YouTube
- LLM service My FastAPI + CLIP service
- All repositories GitHub
- How multimodal AI actually works Article