File size: 1,265 Bytes
b178ef9
f169cf6
 
 
 
 
 
 
b178ef9
da03e34
 
 
 
 
 
1ec5ab7
 
 
 
 
 
 
 
 
 
 
 
d99ee04
1ec5ab7
 
 
 
 
 
 
 
 
d99ee04
 
1ec5ab7
 
 
 
 
 
 
 
 
 
 
 
 
b178ef9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: Customer Support
emoji: 🐠
colorFrom: yellow
colorTo: red
sdk: docker
pinned: false

---
# Customer Support Space

πŸš€ [Visit the Customer Support Space on Hugging Face](https://huggingface.co/spaces/Prajith04/customer-support)

--- 

# 🧠 Customer Support Chatbot (FastAPI + Hugging Face + Qdrant)

This is an intelligent, conversational customer support chatbot built using:

- πŸ” **GLiNER** for named entity extraction  
- 🧠 **SentenceTransformers** + **Qdrant** for semantic search and retrieval  
- πŸ€– **Groq LLM** for answer validation and response generation  
- ⚑ **FastAPI** for the web backend  
- πŸ–ΌοΈ **Jinja2 templates** for a simple frontend chat UI

It runs both locally and on **Hugging Face Spaces via Docker**.

---

## πŸš€ Features

- Extracts key entities from support requests
- Semantic similarity search with Qdrant + SentenceTransformers
- LLM validation of results via Groq API
- Fully functional FastAPI-based web interface
- Docker-ready for Hugging Face Spaces deployment

---

## πŸ“¦ Installation

### Local Setup

```bash
git clone https://github.com/your-username/support-chatbot
cd support-chatbot

python -m venv venv
source venv/bin/activate

pip install -r requirements.txt

uvicorn main:app --reload