← All work

Ask-Your-Docs: AI Document Q&A

Assembled a document Q&A service on FastAPI and LangChain with Pinecone namespaces per document set.

Context

Personal project

Stack

Python, FastAPI, LangChain, Pinecone, Streamlit

Source

View on GitHub ↗

Inside the build

What I did.

  1. Assembled a document Q&A service on FastAPI and LangChain with Pinecone namespaces per document set.
  2. Routed queries across OpenAI and Anthropic models with tunable temperature and retrieval depth.
  3. Scored retrieval against a 30-question eval set, tuning chunk size and top-k against hit rate.