feat: add end-to-end voice-agent evaluation skill and regression CLI - #2
Draft
ayushhagarwal wants to merge 1 commit into
Draft
feat: add end-to-end voice-agent evaluation skill and regression CLI#2ayushhagarwal wants to merge 1 commit into
ayushhagarwal wants to merge 1 commit into
Conversation
Author
|
Hi @vinayak-sarvam , |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The repository explains how to build a Sarvam voice agent, but it does not provide a reproducible way to answer the release question: did an STT, prompt, VAD, model, or TTS change improve the whole turn without regressing quality, latency, reliability, or cost?
This PR adds
test-sarvam-voice, an Agent Skill and self-contained PEP 723 CLI for end-to-end regression testing across Saaras v3, Sarvam-30B, and Bulbul v3.What this adds
plan,run, andcomparecommands in oneuv run-compatible Python script.llm_werandllm_intent_entityprojects.Difference from
voice-agentsvoice-agentsis the construction guide for LiveKit and Pipecat applications. This skill is the measurement layer for an existing pipeline. It deliberately uses the individual Sarvam SDK stages so it can expose stage boundaries and compare a candidate against a reviewed baseline.CLI
The runner defaults to one worker, zero retries, redacted sensitive text, and discarded synthesized audio. Exit codes distinguish success (
0), gate failure (1), invalid input or rejected budget (2), incomplete live execution (3), and interruption (130).Privacy, cost, and reliability controls
Validation
python -m unittest discover: 24/24 passedruff check: passedruff format --check: passeduv runhelp for all three commands: passedThe live smoke test is not included yet because no
SARVAM_API_KEYwas available in the authoring environment. The PR is intentionally a Draft; the offline workflow never requires a key, and a sanitized sub-₹1 live result can be added before marking it ready.Intentional v1 boundaries
Maintainer questions
sarvam.voice-eval/v1report boundary useful for future cookbook or CI examples?