Browse by type
A console-based Retrieval-Augmented Generation (RAG) chatbot that intelligently answers questions by crawling and indexing content from BotPenguin.com.
This project demonstrates how to build a custom knowledge-base chatbot using Google's Gemini Pro/Flash models and LangChain.
429 handling).gemini-flash-latest / gemini-pro)models/embedding-001)git clone <repository_url>
cd Chatbot_ona_site
It's recommended to use a virtual environment.
# Windows
python -m venv venv
.\venv\Scripts\Activate
# Mac/Linux
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Create a .env file in the project root and add your Google Gemini API Key.
# .env file
GOOGLE_API_KEY=AIzaSy...YourKeyHere
Note: You can get a free API key from Google AI Studio.
Run the main application script:
python main.py
chroma_db folder.https://botpenguin.com/ (Depth: 2).Example Interaction:
You: What is BotPenguin?
Bot: BotPenguin is an AI-powered chatbot platform that helps businesses automate customer support...
Sources:
1. https://botpenguin.com/
2. https://botpenguin.com/features
Type exit or quit to close the application.
├── main.py : Entry point (CLI interface)
├── rag_engine.py : RAG logic, ChromaDB management, and LangChain setup
├── scraper.py : Web crawler logic using Requests & BeautifulSoup
├── requirements.txt : Python dependencies
├── .env : Configuration file (API Keys)
└── chroma_db/ : (Generated) Local vector database storage
Created for the BotPenguin Assignment by Atul Harsh
$ claude mcp add RAG-Chatbot-on-web-scraped-data \
-- python -m otcore.mcp_server <graph>