help@rskworld.in +91 93305 39277
RSK World
  • Home
  • Development
    • Web Development
    • Mobile Apps
    • Software
    • Games
    • Project
  • Technologies
    • Data Science
    • AI Development
    • Cloud Development
    • Blockchain
    • Cyber Security
    • Dev Tools
    • Testing Tools
  • Blog
  • About
  • Contact

Theme Settings

Color Scheme
Display Options
Font Size
100%
Back to Project
RSK World
rag-chatbot
RSK World
rag-chatbot
RAG Chatbot - Python + LangChain + ChromaDB + OpenAI API + Vector Search + Knowledge Base
rag-chatbot
  • __pycache__
  • analytics
  • conversations
  • knowledge_base
  • static
  • templates
  • vector_db
  • .env.example502 B
  • .gitignore519 B
  • ADVANCED_FEATURES.md5.2 KB
  • GITHUB_PUSH_SUMMARY.md3.6 KB
  • ISSUES_FIXED.md3.3 KB
  • LICENSE1.2 KB
  • PROJECT_INFO.md3 KB
  • QUICKSTART.md1.5 KB
  • README.md3.9 KB
  • RELEASE_NOTES.md3.7 KB
  • analytics.py6.9 KB
  • app.py8.3 KB
  • chatbot.py10.8 KB
  • config.py1.8 KB
  • conversation_manager.py5.8 KB
  • embeddings.py1.9 KB
  • hybrid_search.py4 KB
  • prepare_knowledge_base.py6.8 KB
  • requirements.txt377 B
  • setup.py2.8 KB
  • vector_store.py6.7 KB
QUICKSTART.md
QUICKSTART.md
Raw Download

QUICKSTART.md

# Quick Start Guide

<!--
Project: RAG Chatbot
Developer: RSK World
Website: https://rskworld.in
Email: help@rskworld.in
Phone: +91 93305 39277
Year: 2026
-->

## Installation

1. **Install Python dependencies:**
```bash
pip install -r requirements.txt
```
Or use the setup script:
```bash
python setup.py
```

2. **Configure environment:**
```bash
cp .env.example .env
```
Edit `.env` and add your OpenAI API key:
```
OPENAI_API_KEY=your_api_key_here
```

3. **Prepare knowledge base:**
```bash
python prepare_knowledge_base.py
```
This will create a sample knowledge base. You can add your own documents to the `knowledge_base/` directory.

4. **Run the application:**
```bash
python app.py
```

5. **Open in browser:**
Navigate to `http://localhost:5000`

## Adding Your Own Knowledge Base

1. Place your documents (PDF, TXT, or MD files) in the `knowledge_base/` directory
2. Run `python prepare_knowledge_base.py` again
3. The documents will be processed and added to the vector database

## Troubleshooting

- **"OPENAI_API_KEY not found"**: Make sure you've created a `.env` file with your API key
- **Import errors**: Make sure all dependencies are installed: `pip install -r requirements.txt`
- **Vector store errors**: Delete the `vector_db/` directory and run `prepare_knowledge_base.py` again

## Support

For issues or questions, contact:
- Website: https://rskworld.in
- Email: help@rskworld.in
- Phone: +91 93305 39277

© 2026 RSK World

🚀 Support RSK World

Subscribe to our YouTube channel for latest tutorials & updates!



Click subscribe & support our work ❤️

About RSK World

Founded by Molla Samser, with Designer & Tester Rima Khatun, RSK World is your one-stop destination for free programming resources, source code, and development tools.

Founder: Molla Samser
Designer & Tester: Rima Khatun

Development

  • Game Development
  • Web Development
  • Mobile Development
  • AI Development
  • Development Tools

Legal

  • Terms & Conditions
  • Privacy Policy
  • Disclaimer

Contact Info

Nutanhat, Mongolkote
Purba Burdwan, West Bengal
India, 713147

+91 93305 39277

hello@rskworld.in
support@rskworld.in

© 2026 RSK World. All rights reserved.

Content used for educational purposes only. View Disclaimer