Spaces:
Runtime error
Runtime error
| # Queue Prediction Model API | |
| This API predicts the appropriate queue for support tickets based on their title and description. | |
| ## API Endpoints | |
| ### POST /predict | |
| Predicts the queue for a ticket based on its title and description. | |
| #### Input Format: | |
| ```json | |
| { | |
| "title": "string", | |
| "description": "string" | |
| } | |
| ``` | |
| #### Output Format: | |
| ```json | |
| { | |
| "predicted_queue": "string", | |
| "confidence": float, | |
| "top_3_predictions": [ | |
| { | |
| "queue": "string", | |
| "probability": float | |
| } | |
| ] | |
| } | |
| ``` | |