Technology
Retrieval-Augmented Generation (RAG) Documentation Assistant
A RAG assistant that turns stacks of PDFs into a searchable knowledge base where every answer traces back to the source document.
The challenge
Most of what a company knows sits inside PDFs: manuals, contracts, specifications, reports. You know the answer is in there; you just can't find it. Ctrl+F only finds the word you typed - if the answer is phrased differently, it stays hidden.
Asking a general AI doesn't solve it either. The model never sees your document; it produces a plausible-sounding answer from general training data. With a contract or a manual, that is worse than no answer, because it looks confident.
What was needed was clear: a tool that reads your own documents, draws the answer out of them, and shows which document it came from.
The approach
I built an end-to-end RAG (retrieval-augmented generation) system that turns uploaded PDFs into a queryable knowledge base.
- It splits documents into meaningful chunks. PDFs are read and divided into overlapping pieces that preserve context. Chunk size and overlap are adjustable from the interface - long contracts and short manuals don't want the same settings.
- Each chunk becomes a meaning vector. Chunks are passed through an embedding model and stored in ChromaDB, so search works by meaning rather than keyword: it finds the termination clause even if you never typed "termination".
- The vector database persists on disk. A document set is processed once and never re-embedded in later sessions. Several PDFs can be uploaded at once and queried as a single shared knowledge base.
- Answers are generated only from retrieved text. When a question arrives, the system pulls the most relevant passages and constrains the model to answer from those alone. It never speaks from its own memory.
- A usable interface. A Streamlit chat UI with PDF upload, conversation history, and live control over chunk size, overlap, number of retrieved passages and temperature. The whole thing is packaged with Docker.
The project was tested on the "A Short Guide to the EU" document and built entirely on free API tiers, at zero cost.
Where it fits: Internal procedures and quality manuals - a new hire asks "what do we do in this case?" and gets an answer with its source. Contract archives - "what was the penalty clause with this supplier?". Technical specifications and equipment manuals, so field teams find the right clause in seconds. Regulatory and compliance document sets. Past proposals and project documents, for finding precedent when writing a new bid.
Stack: Python, LangChain, ChromaDB, PyPDFLoader, Streamlit, Docker; cloud LLM APIs for embedding and generation.
Want similar results for your project?
Every project above started with a conversation. Let's figure out what yours needs.
Keep exploring
More projects.
Rail catenary pole placement automation
Weeks of expert engineering work, reduced to seconds.
D-Risk - MedTech Marketplace with AI Company Profiling
A three-sided marketplace linking medtech startups with investors and specialist freelancers - matched through AI document profiling.
Integrated LoRa Sensor Monitoring & Analytics System
Turning raw LoRa telemetry from tree-mounted sensors into live dashboards that answer watering and growth questions - built in one week.
Revenue Administration MCP Server
An assistant that reads Turkish tax legislation from its official source at the moment you ask and answers with the article behind it - a system a certified acc
Reliability of LLMs in Safety-Critical Requirements Engineering
A controlled experiment measuring what an ungrounded, off-the-shelf chatbot contributes to safety-critical engineering.
DSGENAI - AI Safety Requirements Engineering Platform
Stabilising and modernising an AI-driven safety-requirements platform - Flask to Streamlit, GPT-5.1, and critical data-leak fixes.
LLM Prompt Optimization for Legal-Clause Classification
Comparative research that lifted F1 from 0.62 to 0.76 on Terms-of-Service clause classification through automatic prompt optimisation alone - without retraining
Smart Contract Analysis with NLP
An NLP system learns from Siemens' legal team's past contract revisions, flags the same clauses in a new contract, and proposes the edit that was made before.
Football Player Potential Prediction Model
A classification model predicting whether a player will be marked "highlighted" from 39 scout attribute scores - ROC-AUC 0.86 under 10-fold cross-validation.
Football Player Ranking System
A scoring engine that ranks players not by total score, but by how many attributes they exceed the statistical average for their own position.
Football Player Position Recommender System
A recommender that compares a player's attribute profile against the profiles of other positions and finds players could be more valuable in a different role.
Automated Connecting-Flight Optimization
A tool that recalculates every connection possible through the hub - day by day, with passenger volumes - when a single flight's time is shifted.
Flight Passenger-Count Prediction
A demand model predicting booked passengers on one-stop routes from a flight's own characteristics, selected by comparing eleven regression models.
Turkish Image-Captioning Benchmark on MS COCO 2014
A human-verified Turkish caption dataset covering all of MS COCO, plus five models trained on it - a new reference point for Turkish image captioning.
ESG Diversity & Sentiment Solution - CFA Poland Hackathon
An ESG prototype scoring gender diversity and news sentiment - 2nd place among 44 teams from 28 universities.
Automated ESG Scoring System - HackBogazici
An automated ESG scoring engine built from four scraped data sources - 2nd place among 14 hackathon teams.