This project is an AI-driven chatbot trained on theoretical Computer Science subjects like DBMS, CN, OS, Blockchain and OOP. The bot answers questions based on content fed through pre-embedded PDFs using ChromaDB. The project offers both a command-line interface (CLI) and a user interface (UI) built using Streamlit.
This project is an AI-driven chatbot trained on theoretical Computer Science subjects like DBMS, CN, OS, Blockchain and OOP. The bot answers questions based on content fed through pre-embedded PDFs using ChromaDB. The project offers both a command-line interface (CLI) and a user interface (UI) built using Streamlit.
app.py
) where users can ask questions.rag.py
) for command-line interactions.Technology | Purpose |
---|---|
Python | Core programming language |
![LangChain]( LangChain | Question-answer framework |
Gemini AI | AI-driven responses |
ChromaDB | Vector store for embedding storage |
Streamlit | User interface for the application |
git clone https://github.com/yourusername/project-name.git
cd project-name
pip install -r requirements.txt
streamlit run app.py
python rag.py
generate_embeddings.py
) are processed and stored in ChromaDB. This allows the bot to answer questions related to the content from those PDFs.