Billing symptom
Model input
I cannot view invoices because the invoices page crashes when opened.
Group feedback by the concrete issue experienced by the customer.
Step 01
Upload sample data, define your output schema, and provide feedback on the hardest cases.
The concrete issue experienced by the customer.
The feature or workflow affected, such as invoices or exports.
The action the customer is requesting.
Group feedback by the concrete issue experienced by the customer.
I cannot view invoices because the invoices page crashes when opened.
Sutro can now generalize the rules based on your feedback.
Step 02
Compare quality and cost on your examples, then choose a model or use Sutro’s default.
Compare models on expert agreement and cost. The interactive chart uses illustrative measurements.
Illustrative sweep · select Value or Best to use that model in your function.
Step 03
Call Sutro Functions like any other software. Swap the model as soon as something more performant is released.
import sutro as so
input_data = {
"text": "I cannot view invoices because the invoices page crashes when opened."
}
result = so.run_function(
"customer-issue-feedback-categorization",
input_data,
)curl --fail-with-body -X POST "${SUTRO_API_URL%/}/v1/functions/customer-issue-feedback-categorization/run" \
-H "Authorization: Key $SUTRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"text": "I cannot view invoices because the invoices page crashes when opened."
}
}'import sutro as so
job_id = so.batch_run_function(
name="customer-issue-feedback-categorization",
data="customer_issue_feedback_categorization.csv",
)
results = so.await_job_completion(job_id)curl --fail-with-body -X POST "${SUTRO_API_URL%/}/v1/batch-inference" \
-H "Authorization: Key $SUTRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "customer-issue-feedback-categorization",
"inputs": [
{
"text": "I cannot view invoices because the invoices page crashes when opened."
}
]
}'