App Link :- https://ragchatbotbuildwithai.streamlit.app/ An intelligent chatbot powered by Groq LLM that can answer questions about fundamental AI research papers, including GANs, Transformers, and Autoencoders.
- Interactive chat interface built with Streamlit
- Powered by Groq's llama-3.3-70b model for high-quality responses
- Semantic search using HuggingFace embeddings
- Vector storage with ChromaDB for efficient retrieval
- Supports multiple research papers simultaneously
- Easy-to-use web interface
- Real-time response generation
The chatbot is currently trained on these seminal AI papers:
- Generative Adversarial Nets (1406.2661v1)
- Attention Is All You Need (1706.03762v7)
- Autoencoders (2003.05991v2)
- Clone the repository:
https://github.com/Aryan-coder-student/BuildWithAI.git
- Install required dependencies:
pip install -r requirements.txt
- Create a
.env
file in the root directory and add your Groq API key:
GROQ_API_KEY=your_api_key_here
- Place your PDF papers in the
Papers
directory.
- Start the application:
streamlit run app.py
-
Open your browser and navigate to
http://localhost:8501
-
Start asking questions about the research papers!
- LLM: Groq's llama-3.3-70b model for generating responses
- Embeddings: HuggingFace's sentence-transformers/all-MiniLM-L6-v2
- Vector Store: ChromaDB for efficient document retrieval
- Frontend: Streamlit for the web interface
- Document Processing: LangChain for PDF processing and chunking
The following environment variables are required:
GROQ_API_KEY=your_groq_api_key
You can reset the vector store anytime using the "Reset Vector Store" button in the sidebar. This will:
- Delete the existing ChromaDB database
- Reinitialize the system with fresh embeddings
- Rebuild the vector store from scratch
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- The Groq team for providing the LLM API
- LangChain for the document processing framework
- Streamlit for the web application framework
- The authors of the original research papers
Made with ❤️ by [Aryan Pahari]