llm_rate
Rate routing decisions as good or bad to train the classifier and improve future AI model selection based on your preferences.
Instructions
Rate the last (or a specific) routing decision as good or bad.
Stores thumbs-up / thumbs-down feedback in the ``routing_decisions`` table.
Over time this signal can be used to retrain the local classifier so routing
choices improve based on your preferences.
Args:
good: True = routing was a good choice; False = bad choice.
decision_id: Row ID to rate. Omit (or pass None) to rate the most recent
routing decision.
Returns:
Confirmation string with the rated decision ID, or an error message.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| good | Yes | ||
| decision_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |