AI Knowledge Base (RAG) for Business Documents by Prasanna Kumar DasAI Knowledge Base (RAG) for Business Documents by Prasanna Kumar Das

AI Knowledge Base (RAG) for Business Documents

Portfolio project
Prasanna Kumar Das
An AI knowledge base I built for companies with lots of documents.
The problem: staff keep asking the same questions, and the answers are buried in PDFs, manuals and policy files. Generic chatbots make answers up.
What it does: • Adds documents three ways: an upload form, an API, or a whole Google Drive folder at once • Cleans and indexes each PDF, and skips documents already added • Answers questions on Telegram using only the most relevant passages • Checks whether the documents actually contain the answer, and if not, hands off to a human instead of guessing • Keeps each business's documents separate, so one setup can serve many clients
Results: tested end to end on sample documents, from upload to grounded answers on Telegram.
Challenges and fixes: • The "does the answer exist?" check failed on some inputs because of a data-type mismatch, so I fixed it to handle every case • Telegram rejected answers with formatting symbols, so the AI now replies in clean plain text • The same PDF could be uploaded twice, so I added a duplicate check by name, version and client
Built with: n8n, Google Gemini (embeddings + answers), Supabase vector database, Google Drive, Telegram
Live Telegram test: real answers from a sample policy document, and an honest handoff when the answer isn't there
Live Telegram test: real answers from a sample policy document, and an honest handoff when the answer isn't there

0 likes · 1 view · Nov 28, 2026

AI knowledge base in n8n that answers questions only from your own documents.

Tags