File size: 2,406 Bytes
60d4f55
733f430
 
 
 
60d4f55
 
 
 
 
 
733f430
 
 
 
 
 
 
 
 
 
 
 
60d4f55
 
733f430
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
title: Smart Customer Support Agent
emoji: πŸ’¬
colorFrom: yellow
colorTo: purple
sdk: gradio
sdk_version: 5.33.0
app_file: app.py
pinned: false
license: mit
short_description: Agentic retrieval & smart routing for customer support
tags:
  - agent-demo-track
  - llamaindex
  - llamacloud
  - rag
  - agentic-retrieval
  - smart-routing
  - customer-service
  - chatbot
  - claude
  - anthropic
  - cohere-embed
---

# πŸ’¬ Smart Customer Support Triage Agent

An AI-powered support agent that intelligently routes customer queries to relevant knowledge bases for accurate responses.

## πŸ€– Preview

<video controls autoplay src="https://cdn-uploads.huggingface.co/production/uploads/67d2db58176fdb283211e929/7xOk6RtBc_x8TAUNeDdop.mp4"></video>

*[link to video](https://cdn-uploads.huggingface.co/production/uploads/67d2db58176fdb283211e929/7xOk6RtBc_x8TAUNeDdop.mp4)*

## βš™οΈ Technologies Used

### Core Components
- **Frontend UI**: Gradio - Interactive web interface for user interactions  
- **Agent Framework**: LlamaIndex - Intelligent document routing and retrieval system  
- **LLM**: Anthropic Claude Sonnet 4 - Response generation and reasoning  

### Knowledge Infrastructure  
- **Document Processing**: LlamaCloud - Managed parsing, indexing and vector storage  
- **Embeddings**: Cohere embed-english-v3.0 - Semantic representation of documents  

### Development & Operations  
- **Observability**: LlamaTrace (Arize Phoenix) - Performance monitoring and tracing  
- **Coding Assistant**: Gemini 2.5 Flash - AI pair programming support  
- **Synthetic Data**: Grok Chat + Slidesgo - Test content generation  

### Supporting Stack  
- Python 3.10+  
- JSON metadata schemas  
- CSV document registries  

## πŸ—‚οΈ Project Structure

```
cs-agent/
β”œβ”€β”€ data/                            # Sample knowledge base
β”‚   β”œβ”€β”€ ProductManuals/              # Technical documentation
β”‚   β”œβ”€β”€ FAQGeneralInfo/              # FAQs and general policies
β”‚   β”œβ”€β”€ BillingPolicy/               # Pricing and subscription details
β”‚   └── CompanyIntroductionSlides/   # Company overview materials
β”œβ”€β”€ app.py                           # Main application logic
β”œβ”€β”€ requirements.txt                 # Python dependencies
└── logo.png                         # Chatbot logo image
```

## πŸ“„ License

This project is licensed under the MIT License.