Spaces:
Runtime error
Runtime error
Add Dockerfile for HuggingFace deployment
Browse files- Dockerfile +13 -0
- README.md +6 -1
- requirements.txt +5 -4
Dockerfile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.10-slim
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
COPY requirements.txt .
|
| 6 |
+
|
| 7 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 8 |
+
|
| 9 |
+
COPY . .
|
| 10 |
+
|
| 11 |
+
EXPOSE 7860
|
| 12 |
+
|
| 13 |
+
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|
README.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
# ๐ RAG Chatbot
|
| 2 |
|
| 3 |
A Retrieval-Augmented Generation (RAG) chatbot that answers questions from any PDF document.
|
|
@@ -19,4 +20,8 @@ A Retrieval-Augmented Generation (RAG) chatbot that answers questions from any P
|
|
| 19 |
1. Clone the repo
|
| 20 |
2. Install dependencies: `pip install -r requirements.txt`
|
| 21 |
3. Add your Groq API key in `.env`
|
| 22 |
-
4. Run: `streamlit run app.py`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<<<<<<< HEAD
|
| 2 |
# ๐ RAG Chatbot
|
| 3 |
|
| 4 |
A Retrieval-Augmented Generation (RAG) chatbot that answers questions from any PDF document.
|
|
|
|
| 20 |
1. Clone the repo
|
| 21 |
2. Install dependencies: `pip install -r requirements.txt`
|
| 22 |
3. Add your Groq API key in `.env`
|
| 23 |
+
4. Run: `streamlit run app.py`
|
| 24 |
+
=======
|
| 25 |
+
# DocuMind-AI
|
| 26 |
+
An intelligent document assistant powered by RAG, LangChain, Groq LLaMA 3, and FAISS. Upload any PDF and chat with it using state-of-the-art AI โ built for real-world enterprise use.
|
| 27 |
+
>>>>>>> c928729e2ea30c15acbcaf6550314fcc867ab925
|
requirements.txt
CHANGED
|
@@ -1,8 +1,9 @@
|
|
| 1 |
streamlit
|
| 2 |
-
langchain
|
| 3 |
-
langchain-
|
| 4 |
-
langchain-
|
| 5 |
-
langchain-
|
|
|
|
| 6 |
langchain-huggingface
|
| 7 |
faiss-cpu
|
| 8 |
pypdf
|
|
|
|
| 1 |
streamlit
|
| 2 |
+
langchain==0.3.25
|
| 3 |
+
langchain-core==0.3.60
|
| 4 |
+
langchain-community==0.3.24
|
| 5 |
+
langchain-groq==0.3.2
|
| 6 |
+
langchain-text-splitters==0.3.8
|
| 7 |
langchain-huggingface
|
| 8 |
faiss-cpu
|
| 9 |
pypdf
|