Ask Me Anything — RAG Widget
ShippedA RAG-powered chat widget that answers recruiters’ questions about my background in natural language.
PythonFastAPIPineconeClaude APIReactAWSCloudflare
Visitors ask natural-language questions about my professional background and get grounded, conversational answers — the model answers about me, in the third person, citing its sources. Built across three fully-designed layers: Notion ingestion, a Python/FastAPI query pipeline, and a React streaming frontend.
Highlights
- Ingestion: Notion → chunk → hosted Pinecone embedding (llama-text-embed-v2 @ 384-dim, cosine) → vector store.
- Query pipeline: retrieve → relevance gate → grounded prompt → Claude Haiku 4.5, streamed over SSE from FastAPI.
- Answers are grounded and cited — a relevance gate keeps the model from answering off-corpus questions.
- Cloud rollout on AWS Lightsail + Cloudflare, with Lambda + EventBridge for scheduled ingestion.
- The frontend widget is a first-party, style-isolated component embedded directly in this site at /ask.
Architecture
The widget is split into independently designed layers so each can be reasoned about and tested on its own: a Notion ingestion pipeline, a Python/FastAPI retrieval-and-serving pipeline, and a React streaming frontend. Embedding is a hosted API call by design — there is deliberately no local torch / sentence-transformers dependency.
Screenshots




