Skip to content

arshdeepsarsh/Indra_AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Indra AI — RAG Chatbot using Streamlit, Qdrant & OpenAI

Python Streamlit RAG OpenAI Vector DB FAISS LLM Status License Contributions

Indra AI is a Retrieval-Augmented Generation (RAG) chatbot that allows users to:

  • Ask natural language questions
  • Upload PDF/Text files for context
  • Retrieve Wikipedia summaries
  • Get accurate answers using OpenAI embeddings + vector search

Built with Streamlit UI, Qdrant Vector DB, and OpenAI embeddings.


🚀 Features

  • RAG-based question answering
  • PDF/Text document support
  • Wikipedia knowledge fetching
  • Vector search using Qdrant/FAISS
  • Clean Streamlit interface
  • Secure .env API key handling

📁 Project Structure

Indra_AI/
│── rag_backend/
│   ├── app.py
│   ├── main.py
│   ├── embedder.py
│   ├── generator.py
│   ├── evaluation.py
│   ├── pdf_loader.py
│   ├── vector.py
│   ├── wikipedia_loader.py
│   ├── requirements.txt
│
├── .env.example
├── .gitignore
├── README.md

⚙️ Installation

1. Clone the repository

git clone https://github.com/arshdeepsarsh/Indra_AI.git
cd Indra_AI

2. Create a virtual environment

python -m venv venv

Activate:

Windows

venv\Scripts\activate

Mac/Linux

source venv/bin/activate

3. Install dependencies

pip install -r rag_backend/requirements.txt

4. Add your API key

Create a .env file:

OPENAI_API_KEY=your_api_key_here

(Or copy from .env.example)


▶️ Run the Application

Streamlit UI

streamlit run rag_backend/app.py

CLI Mode

python rag_backend/main.py

🧠 How It Works (RAG Pipeline)

User Query / Document Upload
          ↓
Text Chunking
          ↓
Embedding Generation (OpenAI)
          ↓
Vector Storage (Qdrant / FAISS)
          ↓
Similarity Search
          ↓
Response Generation

🛣️ Roadmap

  • Chat history
  • Qwen/Gemini model support
  • Voice input
  • Deployment on Streamlit Cloud
  • Multi-document support

🤝 Contributing

Pull requests are welcome.
Please open an issue to discuss new features or improvements.


License

MIT License


⭐ Support

If you find this project useful, consider giving it a ⭐ on GitHub!

About

IndraAI - Intelligent RAG-powered Chatbot using Streamlit, Qdrant, and OpenAI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages