Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.superbryn.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

What are custom metrics?

Custom metrics let you define evaluation criteria specific to your use case. You write a natural-language prompt describing what to evaluate, choose an output format, and SuperBryn’s LLM evaluates every call against your criteria automatically. Metrics apply to both simulation calls and production monitoring calls.

Metric types

TypeOutputExample
Pass/Failpass, fail, or N/A”Did the agent verify the caller’s identity before sharing account details?”
Numeric ScoreScore out of 10”Rate the agent’s empathy on a scale of 1-10”
Text ResponseFree-form text”Summarize the key topics discussed in this call”

Creating a metric

  1. Go to Custom Metrics in the sidebar
  2. Click Create Metric
  3. Fill in the form:
FieldDescription
NameA short label for the metric (e.g., “Greeting compliance”)
Evaluation promptNatural-language instructions for the LLM evaluator
Transcript scopeWhich part of the conversation to evaluate
Response typePass/Fail, Numeric Score, or Text Response
  1. Assign the metric to one or more agents
  2. Click Save

Improve with AI

Click Improve with AI to have the LLM refine your evaluation prompt. This rewrites your prompt to be more specific and produce more consistent results.

Transcript scoping

Control which portion of the transcript the evaluator sees:
ScopeDescription
Full transcriptBoth agent and customer turns
Agent turns onlyOnly what the agent said
Customer turns onlyOnly what the customer said
Use scoping to focus the evaluation. For example, use “Agent turns only” when measuring greeting compliance, or “Customer turns only” when detecting customer frustration.

Assigning metrics to agents

Each metric can be assigned to one or more agents. Only assigned agents have their calls evaluated against that metric.
  • Assign agents during metric creation or from the metric detail view
  • Add or remove agents at any time without affecting historical results
  • The same metric can be shared across agents in the same project

Analytics

The metric detail view shows aggregate statistics:
StatDescription
Total evaluationsNumber of calls evaluated
Pass ratePercentage of calls that passed
PassedTotal pass count
FailedTotal fail count

Viewing results in call analysis

Custom metric results appear in the call analysis view for both simulation and monitoring calls. Each metric shows:
  • The metric name
  • The result (pass/fail, score, or text)
  • An explanation of why the evaluator reached that conclusion