How I used Siri, PaLM, LangChain, and Firebase to create an Exobrain
summary
An Exobrain app that saves articles via the share sheet, cleans them with the Mercury reader parser, syncs gigabytes of offline content through Cloud Firestore + Cloud Functions, and adds AI features: PaLM produces summaries on demand and vector embeddings are computed, chunked and stored in SQL with PaLM embeddings stored in Postgres with PGVector so LangChain can retrieve relevant passages for Q&A. Siri intents expose the chat hands‑free. Demos show summarization and accurate, private Q&A working end to end; cost and token limits drive on‑demand processing.
AI-written summary · about
chapters (14)
- 0:00Introduction to Exobrain
- 1:49Why build an Exobrain app
- 3:37Adding AI to the app
- 4:19Architecture overview
- 7:30Serverless with Cloud Functions
- 14:25Storing cleaned-up articles
- 22:14Downloading simplified HTML
- 24:23Summarizing articles
- 30:01Q&A with knowledge base
- 31:07Vector embeddings explained
- 36:51Storing embeddings in SQL
- 38:55Retrieving and answering queries
- 40:25Connecting Siri to Exobrain
- 41:59Q&A and closing
