All work
Habla con la Palabra
A Catholic app to converse with the Bible: authentic, validated verses — never invented.
✦✦

“Return to your rest, my soul” · Ps 116:734,623 validated verses


The project
Ask a personal or doctrinal question and receive an authentic Bible verse from the official BAC 2011 edition, plus a warm pastoral reflection. Behind it: 34,623 verses with vector embeddings, hybrid search (vector + Spanish BM25) and post-validation comparing every citation against the real text to rule out hallucinations.
What it does
- 34,623 verses with quantized embeddings (int8, ~36 MB).
- Anti-hallucination: every citation is validated against the literal text.
- Progressive streaming: the verse first, then the reflection.
- Mass near you: churches and schedules via Google Places.
How it was built
Frontend
Next.js 16React 19 · TSTailwind 4
Data
API Routes + SSESupabase + RLSbiblia.json (34k)
IA
Claude Sonnet 4.6Voyage 3 largeBM25 fallback
Question→Vector / BM25→Claude (stream)→Validation
Connections & integrations
- Anthropic Claude — streamed responses with prompt caching
- Voyage AI — semantic embeddings
- Supabase — auth and conversation history
- Google Places — “Mass near you”: churches, photos, schedules
Method
A 175-line Catholic system prompt with strict rules (cite literally, never invent) · a custom liturgical aesthetic with light/dark mode · Creed doctrine mixed into context when relevant.