
DeepSeek Chat RAG
DeepSeek Chat RAG is a document-based Q&A system using Retrieval-Augmented Generation (RAG) and Groq’s LLM for efficient information retrieval.
DeepSeek Chat
DeepSeek Chat RAG is a project that utilizes advanced retrieval-augmented generation (RAG) models to answer user queries based on documents. The system extracts and indexes content from various file formats (PDF, DOCX, CSV, etc.), storing the data in a Chroma database. It then uses this information to provide relevant answers to user queries using a conversational model.
Features
- Document Extraction: Supports PDF, DOCX, TXT, and CSV formats.
- Document Indexing: Text extracted from documents is indexed in a Chroma database for efficient retrieval.
- Question Answering: Uses the RAG model to answer user questions based on the indexed documents.
- Groq Integration: Powered by Groq's LLM for enhanced response generation.
Requirements
- Python 3.8+
- The following libraries (installed via
requirements.txt
):langchain
langchain-community
langchain-huggingface
langchain-chroma
langchain-groq
fitz
(PyMuPDF)pandas
docx
Installation
-
Clone this repository:
git clone https://github.com/samaraxmmar/Deepseek_chat_rag.git cd Deepseek_chat_rag
-
Create a virtual environment and activate it:
python3 -m venv my_env source my_env/bin/activate # On Windows: my_env\Scripts\activate
-
Install the required dependencies:
pip install -r requirements.txt
Usage
- Add Documents: Place your documents (PDF, DOCX, etc.) in the project folder.
- Run the Document Processing:
- To process and index the documents, use the following command:
python streamlit_chat.py
- To process and index the documents, use the following command:
- Ask Questions: After indexing, you can query the system to receive answers based on the documents.
- Example:
python streamlit_chat.py "What is the impact of Groq's LLM?"
- Example:
Contributing
Feel free to fork the repository and create a pull request with any improvements, fixes, or features.
Related topics:
Details:
Stars
0Forks
0Last commit
3 months agoRepository age
3 months
Auto-fetched from GitHub .
MCP servers similar to DeepSeek Chat RAG:

Stars
Forks
Last commit

Stars
Forks
Last commit

Stars
Forks
Last commit