Benefits of Metric Chaining
- Improved Accuracy: Each metric focuses on a specific aspect of the conversation
- Efficiency: Only run metrics that are relevant to the specific conversation flow
- Clarity: Separate concerns make metrics easier to understand and maintain
- Flexibility: Create complex evaluation logic without overwhelming single metrics
How Metric Chaining Works
- Trigger Metric: The primary metric that runs first and determines whether additional metrics should execute
- Follow-up Metric: The secondary metric that runs conditionally based on the trigger metric’s result
- Criteria: The condition that determines when the follow-up metric should run (e.g., “equal to 0”, “greater than 0”)
TL;DR Walkthrough:
Example Use Case: Appointment Setter Agent
Consider an appointment setter agent with two distinct evaluation needs:- Repeat Caller Handling: Check if the agent correctly identifies repeat callers
- Patient Information Collection: Check if the agent collects necessary information (first name, last name, phone number)
- Use “Repeat Caller Handling” as your trigger metric
- If it returns “No” (agent couldn’t identify as repeat caller), then run “Patient Information Collection”
- If it returns “Yes” (agent identified repeat caller), skip the information collection check
Setting Up Metric Chaining
Prerequisites
Before creating a metric chain, ensure you have:- Created your trigger metric
- Created your follow-up metric
- Tested both metrics individually
Creating a Metric Chain
- Navigate to Metric Chains in your dashboard
- Click “Add a Metric Chain”
- Configure the chain:
- Status: Set as Active or Inactive
- Trigger Metric: Select your primary metric
- Follow-up Metric: Select the metric to run conditionally
- Criteria: Define when the follow-up metric should run
- Equal to 0: Run follow-up when trigger returns “No”
- Greater than 0: Run follow-up when trigger returns “Yes”
- Other conditions: As needed for your use case
- Save your metric chain
Applying Metric Chains in Evaluations
When launching an evaluation with metric chains:- In your evaluation setup, select only the trigger metric
- The follow-up metric will automatically run based on your chain conditions
- Do not manually select the follow-up metric - the chain will handle this
Only select the trigger metric when launching evaluations. The chained metrics will run automatically based on your configured conditions.
Example Results
Scenario 1: Trigger Metric Returns “Yes”
- Trigger: “Repeat Caller Handling” returns Yes
- Result: Agent successfully identified repeat caller
- Chain Action: Follow-up metric does NOT run
- Transcript Example: “Perfect, John Doe, I see you…”
Scenario 2: Trigger Metric Returns “No”
- Trigger: “Repeat Caller Handling” returns No
- Result: Agent could not identify repeat caller
- Chain Action: “Patient Information Collection” runs automatically
- Transcript Example: “I can’t find your information in our system, I’m sorry…”
Best Practices
- Start Simple: Begin with two-metric chains before creating more complex flows
- Test Individually: Ensure each metric works correctly on its own before chaining
- Clear Logic: Make sure your chain conditions align with your evaluation goals
- Document Chains: Keep track of your metric chain logic for team collaboration
Advanced Usage
Metric chaining can be extended for more complex scenarios:- Multi-step Chains: Chain multiple metrics in sequence
- Different Conditions: Use various threshold conditions for triggering
- Business Logic: Implement complex business rules through chained evaluations
Need more complex metric chaining scenarios? Contact our team to discuss advanced metric chain configurations for your specific use case.