DocuMancer AI - Overview
π― Let's Build an AI-Powered Chatbot with RAG β Introducing DocuMancer AI
DocuMancer AI β an open-source AI chatbot that reads your Markdown documentation and answers questions about it using the power of RAG (Retrieval-Augmented Generation).
Whether you're building an internal support tool, documentation assistant, or a smart chatbot for your team, this project shows you how to build one from scratch using your own docs and modern AI tools.
π How It Works
RAG combines two powerful techniques:
- Retrieval: It searches for the most relevant documents from your Markdown files.
- Generation: It passes that info to an LLM (like GPT) to generate an accurate answer.
Instead of training a new model, we plug your docs into GPT, helping it answer smarter.
For this, weβre using:
LangChain
to orchestrate the RAG workflowFastAPI
for building a backend APIReact
to create a friendly frontend UIAzure OpenAI
or any LLM provider to answer questionshuggingface/sentence-transformer
for text embeddingsFAISS
to store and search your document chunks efficiently
π οΈ Step-by-Step: Building DocuMancer AI
1. Prepare Your Docs
Create a docs/
folder in your GitHub repo. Put your .md
files there. These are the files the chatbot will learn from.
2. Clone the Chatbot Backend
Clone the provided rag_chatbot folder and add it to your project.