AI Projects

AskMyDocs — Multi-Document RAG Assistant

End-to-end RAG application that transforms multiple uploaded documents into a searchable knowledge base and generates grounded answers with source references and retrieved evidence.

GitHub

product.case-study

AskMyDocs — Multi-Document RAG Assistant product preview

Document Scope

Multiple File Formats

Vector Search

FAISS

Embeddings

SentenceTransformers

Grounding

Sources + Passages

The challenge

01

Multi-document question-answering application using LangChain document loaders, recursive text chunking, SentenceTransformer embeddings, FAISS semantic retrieval, Groq-hosted Llama models, and an interactive Streamlit interface.

What I built

02

The ingestion pipeline supports PDF, TXT, Markdown, CSV, DOCX, XLSX, and JSON files. It converts uploaded content into LangChain documents, divides it into overlapping chunks, and preserves source metadata such as filenames and PDF page numbers.

Recruiter Executive Summary

Application type

AI Projects

01 · Overview

Product context and engineering scope.

The goals, operating context, and technical decisions behind this case study.

Built an end-to-end Retrieval-Augmented Generation application that allows users to upload multiple documents and ask natural-language questions about their content.

01

The ingestion pipeline supports PDF, TXT, Markdown, CSV, DOCX, XLSX, and JSON files. It converts uploaded content into LangChain documents, divides it into overlapping chunks, and preserves source metadata such as filenames and PDF page numbers.

02

SentenceTransformer embeddings and FAISS similarity search retrieve the most relevant document passages. Groq-hosted Llama models use the retrieved context to produce structured Markdown answers with source references and expandable supporting passages.

02 · Capabilities

Capabilities designed around real user needs.

The product features and system behaviors delivered by this project.

01

Multi-Format Document Ingestion

Loads multiple PDF, TXT, Markdown, CSV, Word, Excel, and JSON files into a unified document-processing pipeline.

02

Recursive Metadata-Aware Chunking

Splits long documents into overlapping retrieval-friendly chunks while preserving filenames, PDF page numbers, and source metadata.

03

Local SentenceTransformer Embeddings

Uses the all-MiniLM-L6-v2 model to generate semantic embeddings locally for document chunks and user questions.

04

FAISS Semantic Retrieval

Builds a session-isolated FAISS index and retrieves the document passages most semantically relevant to each question.

05

Grounded Groq Answers

Uses Groq-hosted Llama models through LangChain to generate formatted answers based only on retrieved document context.

06

Sources & Retrieved Passages

Displays source filenames, PDF page references, and expandable supporting passages alongside generated answers.

03 · Decisions

Constraints translated into engineering decisions.

The problems that shaped the product and the responses used to address them.

01

The constraint

Processing multiple document formats while maintaining consistent content and source metadata

Engineering decision

Normalized supported files into LangChain Document objects and preserved metadata throughout loading, chunking, vector indexing, and retrieval.

02

The constraint

Generating useful answers without introducing information unsupported by the uploaded documents

Engineering decision

Implemented semantic top-k retrieval and a grounded system prompt that restricts the Groq model to retrieved context and requires matching source references.

03

The constraint

Safely handling user documents and API credentials within an interactive application

Engineering decision

Created isolated temporary workspaces for uploaded files and FAISS indexes while keeping the user-provided Groq API key only in Streamlit session memory.

04 · Technology

Technology and tools

The complete technology stack utilized in this project, organized by engineering area.

Python
Streamlit
LangChain
FAISS
SentenceTransformers
Hugging Face
Groq
Llama 3.1
Llama 3.3
NumPy
RAG
Vector Embeddings
Semantic Search

Engineering Portfolio

Building practical AI products from model output to production experience.

Looking to engineer AI-assisted workflows, production web applications, or scalable backend infrastructure?