Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -1,10 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
8 |
---
|
9 |
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# π§ Customer Support Chatbot (FastAPI + Hugging Face + Qdrant)
|
2 |
+
|
3 |
+
This is an intelligent, conversational customer support chatbot built using:
|
4 |
+
|
5 |
+
- π **GLiNER** for named entity extraction
|
6 |
+
- π§ **SentenceTransformers** + **Qdrant** for semantic search and retrieval
|
7 |
+
- π€ **Groq LLM** for answer validation and response generation
|
8 |
+
- β‘ **FastAPI** for the web backend
|
9 |
+
- πΌοΈ **Jinja2 templates** for a simple frontend chat UI
|
10 |
+
|
11 |
+
It runs both locally and on **Hugging Face Spaces via Docker**.
|
12 |
+
|
13 |
---
|
14 |
+
|
15 |
+
## π Features
|
16 |
+
|
17 |
+
- Extracts key entities from support requests
|
18 |
+
- Semantic similarity search with Qdrant + SentenceTransformers
|
19 |
+
- LLM validation of results via Groq API
|
20 |
+
- Fully functional FastAPI-based web interface
|
21 |
+
- Docker-ready for Hugging Face Spaces deployment
|
22 |
+
|
23 |
---
|
24 |
|
25 |
+
## π¦ Installation
|
26 |
+
|
27 |
+
### Local Setup
|
28 |
+
|
29 |
+
```bash
|
30 |
+
git clone https://github.com/your-username/support-chatbot
|
31 |
+
cd support-chatbot
|
32 |
+
|
33 |
+
python -m venv venv
|
34 |
+
source venv/bin/activate
|
35 |
+
|
36 |
+
pip install -r requirements.txt
|
37 |
+
|
38 |
+
uvicorn main:app --reload
|