Spaces:
Sleeping
Sleeping
File size: 810 Bytes
16119ed 9dfc4a2 16119ed | 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 | ---
title: Customer Service AI
emoji: 🤖
colorFrom: blue
colorTo: purple
sdk: docker
sdk_version: "latest"
app_file: main.py
pinned: false
---
# Customer Service AI Backend
FastAPI backend for Hadhramout Bank AI customer service system.
## Features
- Telegram webhook integration
- AI-powered responses using Hugging Face Inference API
- Database integration with Supabase
- Vector search with Pinecone
## API Endpoints
- `GET /` - Health check
- `POST /webhook` - Telegram webhook endpoint
- `POST /test` - Test webhook functionality
- `GET /dns-test` - DNS connectivity test
- `GET /ai-test` - AI response test
## Deployment
This application is deployed on Hugging Face Spaces using Docker.
## Local Development
```bash
docker build -t customer-service .
docker run -p 8000:8000 customer-service
```
|