Loading...
Loading...
Compare original and translation side by side
codecustom_codecekura-metric-designcodecustom_codecekura-metric-designreferences/selection-by-use-case.mdreferences/configuration-guide.mdreferences/api-reference.mdreferences/selection-by-use-case.mdreferences/configuration-guide.mdreferences/api-reference.mdGET /test_framework/v1/predefined-metrics/codeGET /test_framework/v1/predefined-metrics/code| Metric | Output | Cost | Sim | Obs | Notes |
|---|---|---|---|---|---|
| Expected Outcome | 0–100 score | Free | ✓ | — | Requires |
| Hallucination | True/False | 0.6 credits | ✓ | ✓ | Compares agent responses against the Knowledge Base to detect unsupported claims. |
| Mock Tool Call Accuracy | 0–100 score | Free | ✓ | — | Scores whether the right mock tools were called with the right inputs. Requires mock tools configured on the agent. |
| Relevancy | True/False | 0.2 credits | ✓ | ✓ | Checks if agent responses addressed the question asked. Flags off-topic or deflecting replies. |
| Response Consistency | True/False | 0.2 credits | ✓ | ✓ | Detects contradictions — when the agent repeats information incorrectly or contradicts a prior statement. |
| Tool Call Success | True/False | Free | ✓ | ✓ | Checks if any tool call result contains "Error" or "failed". Requires provider integration (assistant ID + API keys) so tool call data appears in the transcript. |
| Transcription Accuracy | 0–100 score | Free for simulations / 1 credit/min for production call logs | ✓ | — | Uses two transcription models for production call logs, compares against ground truth for runs. Requires audio. Production call log evaluation is expensive — use selectively. |
| Voicemail Detection | True/False | 0.2 credits | ✓ | ✓ | Detects if the call reached a voicemail or automated system. Beta. |
| Metric | 输出 | 成本 | Sim | Obs | 说明 |
|---|---|---|---|---|---|
| Expected Outcome | 0–100分 | 免费 | ✓ | — | 需要在评估器上设置 |
| Hallucination | 是/否 | 0.6积分 | ✓ | ✓ | 将Agent回复与知识库对比,检测无依据的表述。 |
| Mock Tool Call Accuracy | 0–100分 | 免费 | ✓ | — | 评分是否调用了正确的模拟工具并传入了正确的参数。需在Agent上配置模拟工具。 |
| Relevancy | 是/否 | 0.2积分 | ✓ | ✓ | 检查Agent回复是否针对用户提出的问题。标记偏离主题或回避性回复。 |
| Response Consistency | 是/否 | 0.2积分 | ✓ | ✓ | 检测矛盾情况——Agent重复错误信息或与之前表述矛盾的内容。 |
| Tool Call Success | 是/否 | 免费 | ✓ | ✓ | 检查工具调用结果是否包含"Error"或"failed"。需集成服务商(助手ID + API密钥),使工具调用数据出现在转录文本中。 |
| Transcription Accuracy | 0–100分 | 模拟测试免费 / 生产呼叫日志1积分/分钟 | ✓ | — | 对生产呼叫日志使用两种转录模型,对比测试运行的基准真值。需要音频。生产呼叫日志评估成本较高——请选择性使用。 |
| Voicemail Detection | 是/否 | 0.2积分 | ✓ | ✓ | 检测呼叫是否转到语音信箱或自动系统。Beta版本。 |
| Metric | Output | Cost | Sim | Obs | Notes |
|---|---|---|---|---|---|
| AI Interrupting User | Count | Free | ✓ | ✓ | Counts how often the agent interrupted the user. For observability, requires stereo audio with separate speaker channels. |
| Appropriate Call Termination by Main Agent | True/False | 0.2 credits | ✓ | ✓ | Checks whether the agent ended the call prematurely and whether the user's concern was resolved. |
| Appropriate Call Termination by Testing Agent | True/False | 0.2 credits | ✓ | ✓ | Checks if the user (testing agent) ended the call abruptly — a signal of poor experience or unresolved issues. |
| Detect Silence in Conversation | True/False | Free | ✓ | ✓ | Returns False if neither speaker speaks for longer than |
| Infrastructure Issues | True/False | Free | ✓ | ✓ | Returns False when the main agent goes silent for longer than |
| Interruption Score | 0–100 score | Free | ✓ | ✓ | Continuous score for how often the agent interrupts the user. Higher = fewer interruptions = better. |
| Latency (in ms) | ms average | Free | ✓ | ✓ | Average response latency. Also reports P25/P50/P75/P90/P95/P99 percentiles. Under 2000ms is considered good. |
| Stop Time after User Interruption (ms) | ms | Free | ✓ | ✓ | Time from user interruption until the agent stops speaking. Lower = more responsive. |
| Unnecessary Repetition Count | Count | 0.2 credits | ✓ | ✓ | Counts how many times the agent unnecessarily repeated itself. |
| Unnecessary Repetition Score | 0–100 score | Free | ✓ | ✓ | Continuous score for repetition quality. Higher = more concise = better. Prefer this over the count metric for trend tracking. |
| User Interrupting AI | Count | Free | ✓ | ✓ | Counts customer interruptions of the agent. High counts signal frustration or poor turn-taking. |
| Metric | 输出 | 成本 | Sim | Obs | 说明 |
|---|---|---|---|---|---|
| AI Interrupting User | 计数 | 免费 | ✓ | ✓ | 统计Agent打断用户的次数。在Observability场景下,需要带有独立声道的立体声音频。 |
| Appropriate Call Termination by Main Agent | 是/否 | 0.2积分 | ✓ | ✓ | 检查Agent是否提前结束呼叫,以及用户的问题是否已解决。 |
| Appropriate Call Termination by Testing Agent | 是/否 | 0.2积分 | ✓ | ✓ | 检查用户(测试Agent)是否突然结束呼叫——这是体验不佳或问题未解决的信号。 |
| Detect Silence in Conversation | 是/否 | 免费 | ✓ | ✓ | 若双方说话者沉默超过 |
| Infrastructure Issues | 是/否 | 免费 | ✓ | ✓ | 若主Agent沉默超过 |
| Interruption Score | 0–100分 | 免费 | ✓ | ✓ | 衡量Agent打断用户频率的连续评分。分数越高=打断次数越少=表现越好。 |
| Latency (in ms) | 平均毫秒数 | 免费 | ✓ | ✓ | 平均响应延迟。同时报告P25/P50/P75/P90/P95/P99百分位数。低于2000ms视为良好。 |
| Stop Time after User Interruption (ms) | 毫秒数 | 免费 | ✓ | ✓ | 用户打断后Agent停止说话的时间。数值越低=响应越快。 |
| Unnecessary Repetition Count | 计数 | 0.2积分 | ✓ | ✓ | 统计Agent不必要重复自身内容的次数。 |
| Unnecessary Repetition Score | 0–100分 | 免费 | ✓ | ✓ | 衡量重复质量的连续评分。分数越高=表述越简洁=表现越好。趋势跟踪时优先使用此指标而非计数指标。 |
| User Interrupting AI | 计数 | 免费 | ✓ | ✓ | 统计用户打断Agent的次数。计数过高表示用户不满或对话轮次管理不佳。 |
| Metric | Output | Cost | Sim | Obs | Notes |
|---|---|---|---|---|---|
| CSAT | 0–100 score | 0.2 credits | ✓ | ✓ | Overall customer satisfaction. Scores above 70 indicate satisfaction. Evaluates tone, cooperation, and resolution. |
| Dropoff Node | Enum | 0.2 credits | — | ✓ | Identifies the conversation stage where the call ended. Requires |
| Sentiment | Enum | 0.2 credits | ✓ | ✓ | Classifies user sentiment as Happy, Angry, Neutral, or Disappointed based on tone and word choice across the call. |
| Topic of Call | Enum | 0.2 credits | — | ✓ | Categorizes what the call was about (e.g., billing, technical support). Requires |
| Metric | 输出 | 成本 | Sim | Obs | 说明 |
|---|---|---|---|---|---|
| CSAT | 0–100分 | 0.2积分 | ✓ | ✓ | 整体客户满意度。分数高于70表示满意。评估语调、协作性和问题解决情况。 |
| Dropoff Node | 枚举值 | 0.2积分 | — | ✓ | 识别呼叫结束时的对话阶段。需要配置 |
| Sentiment | 枚举值 | 0.2积分 | ✓ | ✓ | 根据整个呼叫过程中的语调和用词,将用户情感分类为Happy、Angry、Neutral或Disappointed。 |
| Topic of Call | 枚举值 | 0.2积分 | — | ✓ | 对呼叫主题进行分类(如账单、技术支持)。需要配置 |
| Metric | Output | Cost | Sim | Obs | Notes |
|---|---|---|---|---|---|
| Average Pitch (in Hz) | Hz | Free | ✓ | ✓ | Average vocal pitch of the main agent during the call. Useful for monitoring voice consistency. |
| Gibberish Detection | True/False | 0.3 credits/min | ✓ | ✓ | Detects garbled or incoherent speech. Requires stereo audio. Beta. |
| Letterwise Pronunciation Detection | True/False | 0.2 credits | ✓ | ✓ | Checks if the agent spells things out letter-by-letter when appropriate (e.g., confirming phone numbers). Requires |
| Pronunciation Check | 0–100 score | 0.2 credits | ✓ | ✓ | Custom word accuracy — compares spoken output against a list of expected phonemes. Requires |
| Speaking Rate | True/False | 0.2 credits | ✓ | ✓ | Detects abrupt changes in the agent's speaking pace. English only. Beta. |
| Talk Ratio | 0.0–1.0 | Free | ✓ | ✓ | Ratio of agent speaking time vs user speaking time. Typical healthy range: 0.4–0.6. Requires stereo audio for observability. |
| Voice Change Detection | True/False | 0.2 credits | ✓ | ✓ | Detects if the agent's voice changes unexpectedly (different speaker, voice model issue). Beta. |
| Voice Tone + Clarity | 0–100 score | 0.2 credits | ✓ | ✓ | Audio quality score — analyzes clarity and jitter. Scores above 70 indicate quality. |
| Words Per Minute (WPM) | WPM | Free | ✓ | ✓ | Speaking speed of the main agent. Useful baseline alongside Average Pitch and Talk Ratio. |
| Metric | 输出 | 成本 | Sim | Obs | 说明 |
|---|---|---|---|---|---|
| Average Pitch (in Hz) | 赫兹 | 免费 | ✓ | ✓ | 主Agent在呼叫过程中的平均音调。用于监控语音一致性。 |
| Gibberish Detection | 是/否 | 0.3积分/分钟 | ✓ | ✓ | 检测混乱或不连贯的语音。需要立体声音频。Beta版本。 |
| Letterwise Pronunciation Detection | 是/否 | 0.2积分 | ✓ | ✓ | 检查Agent是否在合适场景下逐字母拼写(如确认电话号码)。需要配置 |
| Pronunciation Check | 0–100分 | 0.2积分 | ✓ | ✓ | 自定义词汇准确性——将语音输出与预期音素列表对比。需要配置 |
| Speaking Rate | 是/否 | 0.2积分 | ✓ | ✓ | 检测Agent说话语速的突然变化。仅支持英文。Beta版本。 |
| Talk Ratio | 0.0–1.0 | 免费 | ✓ | ✓ | Agent说话时长与用户说话时长的比率。健康范围通常为0.4–0.6。Observability场景下需要立体声音频。 |
| Voice Change Detection | 是/否 | 0.2积分 | ✓ | ✓ | 检测Agent语音是否意外变化(如更换说话者、语音模型问题)。Beta版本。 |
| Voice Tone + Clarity | 0–100分 | 0.2积分 | ✓ | ✓ | 音频质量评分——分析清晰度和抖动。分数高于70表示质量良好。 |
| Words Per Minute (WPM) | 词/分钟 | 免费 | ✓ | ✓ | 主Agent的说话速度。与Average Pitch和Talk Ratio配合作为基准指标。 |
configuration| Metric | Config Key | Type | Default | Description |
|---|---|---|---|---|
| Detect Silence in Conversation | | int (seconds) | 10 | Silence threshold for either speaker |
| Infrastructure Issues | | int (seconds) | 10 | Silence threshold for the main agent only |
| Dropoff Node | | array of strings | required | Conversation stage names (e.g., |
| Topic of Call | | array of strings | required | Topic categories (e.g., |
| Letterwise Pronunciation | | array of strings | required | Word categories to check (e.g., |
| Pronunciation Check | | array of objects | required | Phoneme pairs: |
references/configuration-guide.mdconfiguration| Metric | 配置键 | 类型 | 默认值 | 描述 |
|---|---|---|---|---|
| Detect Silence in Conversation | | 整数(秒) | 10 | 任意说话者的静音阈值 |
| Infrastructure Issues | | 整数(秒) | 10 | 仅针对主Agent的静音阈值 |
| Dropoff Node | | 字符串数组 | 必填 | 对话阶段名称(如 |
| Topic of Call | | 字符串数组 | 必填 | 主题类别(如 |
| Letterwise Pronunciation | | 字符串数组 | 必填 | 需要检查的词汇类别(如 |
| Pronunciation Check | | 对象数组 | 必填 | 音素对: |
references/configuration-guide.md| Cost | Metrics |
|---|---|
| Free (0 credits) | Expected Outcome, Tool Call Success, Mock Tool Call Accuracy, AI Interrupting User, User Interrupting AI, Stop Time after User Interruption, Latency, Detect Silence, Infrastructure Issues, Interruption Score, Unnecessary Repetition Score, Average Pitch, Talk Ratio, Words Per Minute |
| 0.2 credits/call | Relevancy, Response Consistency, Voicemail Detection, Appropriate Call Termination (both), Unnecessary Repetition Count, CSAT, Dropoff Node, Sentiment, Topic of Call, Letterwise Pronunciation, Pronunciation Check, Speaking Rate, Voice Change Detection, Voice Tone + Clarity |
| 0.6 credits/call | Hallucination |
| 0.3 credits/min | Gibberish Detection |
| Free (simulations) | Transcription Accuracy (simulation runs only) |
| 1 credit/min (production call logs) | Transcription Accuracy (production call log evaluation) |
| 成本 | 对应Metric |
|---|---|
| 免费(0积分) | Expected Outcome, Tool Call Success, Mock Tool Call Accuracy, AI Interrupting User, User Interrupting AI, Stop Time after User Interruption, Latency, Detect Silence, Infrastructure Issues, Interruption Score, Unnecessary Repetition Score, Average Pitch, Talk Ratio, Words Per Minute |
| 0.2积分/呼叫 | Relevancy, Response Consistency, Voicemail Detection, Appropriate Call Termination(两类), Unnecessary Repetition Count, CSAT, Dropoff Node, Sentiment, Topic of Call, Letterwise Pronunciation, Pronunciation Check, Speaking Rate, Voice Change Detection, Voice Tone + Clarity |
| 0.6积分/呼叫 | Hallucination |
| 0.3积分/分钟 | Gibberish Detection |
| 免费(模拟测试) | Transcription Accuracy(仅模拟测试) |
| 1积分/分钟(生产呼叫日志) | Transcription Accuracy(生产呼叫日志评估) |
| Metric | Why |
|---|---|
| Expected Outcome | Without this, runs only tell you if the call completed — not if the agent actually did the right thing |
| Infrastructure Issues | Catches the agent going silent for 10+ seconds — invisible in pass/fail |
| Tool Call Success | Detects broken integrations before they impact real users |
| Latency | Baseline performance tracking; P95/P99 reveal outliers that averages hide |
references/selection-by-use-case.md| Metric | 原因 |
|---|---|
| Expected Outcome | 若无此指标,仅能知道呼叫是否完成——无法判断Agent是否完成了正确的任务 |
| Infrastructure Issues | 捕捉Agent沉默10秒以上的情况——这在通过/失败判定中无法体现 |
| Tool Call Success | 在影响真实用户前检测集成故障 |
| Latency | 基准性能跟踪;P95/P99百分位数能揭示平均值无法体现的异常值 |
references/selection-by-use-case.mdexpected_outcome_promptexpected_outcome_promptdropoff_nodestopic_nodesexpected_outcome_promptexpected_outcome_promptdropoff_nodestopic_nodesreferences/configuration-guide.mdreferences/api-reference.mdreferences/selection-by-use-case.mdreferences/configuration-guide.mdreferences/api-reference.mdreferences/selection-by-use-case.md