kakashi1412
08/01/2025, 7:57 PMAI Evy
08/01/2025, 7:57 PMAI Evy
08/01/2025, 7:57 PMAI Evy
08/01/2025, 7:57 PMAI Evy
08/01/2025, 7:57 PMkakashi1412
08/01/2025, 7:58 PMAI Evy
08/01/2025, 7:58 PMAI Evy
08/01/2025, 7:59 PM1. Verify that the customer successfully returned the package and received a refund.
2. Confirm that the end_call function was called at the end of the conversation.
3. Ensure the agent's responses are conversational and contain 5 sentences or fewer.
Additional Examples from Documentation [(2) ]()
For broader testing scenarios, success criteria can include:
- "AI has to ask the 5 questions"
- Multiple criteria like "AI must say blah, blah, blah, blah"
Best Practices for Success Criteria Strictness
Success criteria should be specific but not overly restrictive [(3) ]() . Based on community feedback, overly strict success criteria can trigger ConversationLoopError even when conversations aren't actually looping .
Avoid Technical Issues
Be careful with numerical comparisons in success criteria - ensure you're comparing numbers rather than strings to avoid evaluation bugs [(4) ]() .
The key is balancing specificity with flexibility - your criteria should clearly define successful outcomes without being so rigid that they cause false failures or loop detection issues.AI Evy
08/01/2025, 7:59 PMAI Evy
08/01/2025, 7:59 PM