All work

06AI Engineering · RAG

Document Q&A Assistant

Upload a PDF, ask it questions: a retrieval-augmented pipeline with LangChain, FAISS and a conversational interface.

Period
Jun – Aug 2025
Role
Personal project
Stack
LangChainOpenAI APIFAISSStreamlitPython

01 Problem

Long documents hide their answers. The goal was natural-language question answering over any custom collection of PDFs.

02 Approach

  1. 01PDF upload and document chunking.
  2. 02Embeddings indexed in FAISS for semantic search.
  3. 03LangChain retrieval chain over OpenAI models for grounded answers.
  4. 04Conversational Streamlit interface, deployable on Hugging Face Spaces.

03 Architecture

  1. 01PDF upload
  2. 02Chunking
  3. 03Embeddings
  4. 04FAISS index
  5. 05LangChain + OpenAI
  6. 06Streamlit chat
Data flow · PDF upload → Chunking → Embeddings → FAISS index → LangChain + OpenAI → Streamlit chat