Build your own Retrieval-Augmented Generation (RAG) chatbot to answer questions from your own documentation.
s1_build_docs.py– Scrapes and cleans reference materials (markdown)s2_run_buddy.py– RAG chatbot (LangChain, OpenAI, FAISS, Gradio)coding_session.ipynb– Step-by-step learning notebookdocs/– Knowledge base (cleaned source files)
git clone <repo>
cd <repo-folder>
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
export OPENAI_API_KEY=your_key
python s2_run_buddy.py
Or follow the notebook:
jupyter notebook coding_session.ipynb