Spaces:
Sleeping
Sleeping
Ajit Panday
commited on
Commit
Β·
1b8e418
1
Parent(s):
685b2e5
Update README with Hugging Face Space configuration
Browse files
README.md
CHANGED
|
@@ -1,67 +1,71 @@
|
|
| 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 |
```bash
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
| 34 |
```
|
| 35 |
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
```
|
| 41 |
|
| 42 |
-
|
| 43 |
-
```bash
|
| 44 |
-
pip install -r requirements.txt
|
| 45 |
-
```
|
| 46 |
|
| 47 |
-
|
| 48 |
-
```
|
| 49 |
-
DATABASE_URL=your_database_url
|
| 50 |
-
JWT_SECRET=your_jwt_secret
|
| 51 |
-
HUGGINGFACE_API_KEY=your_api_key
|
| 52 |
-
```
|
| 53 |
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
|
| 59 |
-
|
|
|
|
|
|
|
| 60 |
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
|
| 65 |
## License
|
| 66 |
|
| 67 |
-
MIT License
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: vBot - AI-Powered Call Analysis
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: indigo
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: "4.19.2"
|
| 8 |
+
app_file: main.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# vBot - AI-Powered Call Analysis System
|
| 13 |
+
|
| 14 |
+
vBot is a multi-tenant system that provides AI-powered call analysis for Asterisk PBX systems. It processes phone conversations to provide transcription, summarization, and sentiment analysis using Hugging Face models.
|
| 15 |
+
|
| 16 |
+
## Features
|
| 17 |
+
|
| 18 |
+
- π― Multi-tenant support with secure API keys
|
| 19 |
+
- ποΈ Real-time call processing
|
| 20 |
+
- π Speech-to-text transcription
|
| 21 |
+
- π Call summarization
|
| 22 |
+
- π Sentiment analysis
|
| 23 |
+
- π Secure admin dashboard
|
| 24 |
+
- π RESTful API
|
| 25 |
+
|
| 26 |
+
## Quick Start
|
| 27 |
+
|
| 28 |
+
1. **Deploy to Hugging Face Spaces**
|
| 29 |
+
- Click "Use this Space"
|
| 30 |
+
- Configure environment variables
|
| 31 |
+
- Deploy
|
| 32 |
+
|
| 33 |
+
2. **Configure Environment Variables**
|
| 34 |
```bash
|
| 35 |
+
JWT_SECRET=your-secure-secret-key
|
| 36 |
+
ADMIN_USERNAME=your-admin-username
|
| 37 |
+
ADMIN_PASSWORD=your-secure-password
|
| 38 |
+
DATABASE_URL=mysql+pymysql://username:password@host:port/database
|
| 39 |
```
|
| 40 |
|
| 41 |
+
3. **Integration with Asterisk**
|
| 42 |
+
- Get your API key from the admin dashboard
|
| 43 |
+
- Configure your Asterisk dialplan
|
| 44 |
+
- Start processing calls
|
|
|
|
| 45 |
|
| 46 |
+
## Documentation
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
+
For detailed documentation, please refer to our [User Manual](USER_MANUAL.md).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
+
## API Endpoints
|
| 51 |
+
|
| 52 |
+
### Admin Endpoints
|
| 53 |
+
- `POST /api/v1/token` - Get admin token
|
| 54 |
+
- `POST /api/v1/customers/` - Create customer
|
| 55 |
+
- `GET /api/v1/customers/` - List customers
|
| 56 |
+
- `GET /api/v1/customers/{id}` - Get customer
|
| 57 |
+
- `DELETE /api/v1/customers/{id}` - Delete customer
|
| 58 |
|
| 59 |
+
### Customer Endpoints
|
| 60 |
+
- `POST /api/v1/process-call` - Process call
|
| 61 |
+
- `GET /api/v1/calls/{id}` - List calls
|
| 62 |
|
| 63 |
+
## Support
|
| 64 |
+
|
| 65 |
+
For support and troubleshooting, please refer to the [Troubleshooting Guide](USER_MANUAL.md#troubleshooting) in our user manual.
|
| 66 |
|
| 67 |
## License
|
| 68 |
|
| 69 |
+
MIT License
|
| 70 |
+
|
| 71 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|