Danielius Studio

AI integrations (LLM, RAG, voice)

On - Device Bible Chatbot RAG

Flutter Christian app's on - device chatbot upgraded so it cannot fabricate Scripture, knows the user's current lesson, remembers the conversation, and safely handles crisis content.

User Message typed in Flutter UI App Context Channel course, lesson, slide, quiz Intent and Entities preserves qualifiers Conversation Memory rolling summary, key facts current screen asks question thread history Crisis Detection harm, abuse, self-harm screened System Prompt Assembly situation restated, guardrails screen context safe-route signal thread state Scripture RAG on-device verse retrieval Counseling Pattern acknowledge, verse, prayer Web Search Tool allowlisted sources only Scripture intent pattern hint needs web data WEB Bible Corpus bundled on-device Source Allowlist Bible Gateway, Ligonier, etc verse lookup filtered fetch On-Device LLM llama.cpp / MLC runtime canonical text guidance pattern trusted snippet Verse Verification replace quotes with WEB Repetition Dedupe collapse near-duplicates Citation Injection inline source markers any verses? raw text web sources

Want this built?

I architect, build, and ship engagements like this one.