मुख्य सामग्री पर जाएँ
Skillpedia
एनालिसिस और स्प्रेडशीट84k · #1403

cli-eval

यह क्या करती है

यह स्किल दिखाती है कि कमांड लाइन से AI मॉडल के लिए evaluation टेस्ट कैसे बनाएँ और चलाएँ। यह उन टीमों के लिए है जो मॉडल की गुणवत्ता नापना और नतीजों की तुलना करना चाहती हैं।

कब इस्तेमाल करें

  • ✓जब कोई उपयोगकर्ता किसी मॉडल या रूटिंग combo पर evaluation सूट चलाना चाहे।
  • ✓जब कोई उपयोगकर्ता स्कोरकार्ड पर मॉडल के प्रदर्शन की तुलना करना चाहे।
  • ✓जब कोई उपयोगकर्ता जानना चाहे कि कौन-से evaluation केस फ़ेल हुए।

Skill का लिंक

https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-eval/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/cheaper-inference/OmniRoute/blob/release/v3.8.53/skills/cli-eval/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस मॉडल पर मेरा evaluation सूट चलाइए और फ़ेल हुए केस दिखाइए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह स्किल सूट बनाने या चुनने, उसे किसी मॉडल या combo पर एक तय concurrency के साथ चलाने, प्रगति देखने और नतीजे व स्कोरकार्ड पढ़ने के कमांड बताती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

Overview

Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.

Quick install

npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

eval

Example:

omniroute eval

eval suites

Example:

omniroute eval suites

eval list

Example:

omniroute eval list

eval get <suiteId>

Example:

omniroute eval get <suiteId>

eval create

Flags:

  • --file <path>

Example:

omniroute eval create

eval run <suiteId>

Flags:

  • -m, --model <id>
  • --combo <name>
  • --concurrency <n>
  • --tag <tag>
  • --watch

Example:

omniroute eval run <suiteId>

eval list

Flags:

  • --suite <id>
  • --status <s>
  • --since <ts>
  • --limit <n>

Example:

omniroute eval list

eval get <runId>

Example:

omniroute eval get <runId>

eval results <runId>

Flags:

  • --failed

Example:

omniroute eval results <runId>

eval cancel <runId>

Flags:

  • --yes

Example:

omniroute eval cancel <runId>

eval scorecard <runId>

Example:

omniroute eval scorecard <runId>

simulate [prompt]

Flags:

  • --file <path>
  • -m, --model <id>
  • --combo <name>
  • --reasoning-effort <level>
  • --thinking-budget <n>
  • --explain

Example:

omniroute simulate [prompt]
<!-- skill:custom-start --> <!-- Migrated from skills/omniroute-cli-eval/SKILL.md (preserved curated content) -->

OmniRoute — CLI Evals

Requires the omniroute CLI. See CLI entry-point skill for install + global flags.

What are evals?

Evals are automated test suites that score LLM outputs against expected answers or rubrics. OmniRoute stores suites and run results in its local database.

Eval suites

omniroute eval suites list                       # List all eval suites
omniroute eval suites list --json                # JSON output

omniroute eval suites get <suiteId>              # Full suite definition

Create a suite

omniroute eval suites create \
  --name "code-quality" \
  --rubric "exact-match" \
  --samples-file ./samples.jsonl                 # JSONL: {input, expected_output}

Rubric options: exact-match, contains, llm-judge, regex.

--samples-file format (one JSON object per line):

{"input": "What is 2+2?", "expected_output": "4"}
{"input": "Translate 'hello' to Spanish", "expected_output": "hola"}

Run an eval

omniroute eval suites run <suiteId> \
  --model claude-sonnet-4-6                      # Run suite against a specific model

omniroute eval suites run <suiteId> \
  --model gpt-4o \
  --watch                                        # Live TUI progress (EvalWatch)

The run is asynchronous. Use --watch for a live terminal dashboard or poll manually:

RUN_ID=$(omniroute eval suites run <suiteId> --model claude-sonnet-4-6 --output json | jq -r '.id')
omniroute eval get $RUN_ID

Manage runs

omniroute eval list                              # List all eval runs
omniroute eval list --json

omniroute eval get <runId>                       # Run details (status, model, score)
omniroute eval results <runId>                   # Per-sample results
omniroute eval scorecard <runId>                 # Full scorecard with pass/fail per sample
omniroute eval cancel <runId>                    # Cancel a running eval

Scorecard output

omniroute eval scorecard <runId> --output json

Response fields per sample:

{
  "id": "sample-1",
  "score": 0.95,
  "passed": true,
  "input": "What is 2+2?",
  "output": "4",
  "expected": "4"
}

Comparing models

Run the same suite against multiple models and compare:

for MODEL in claude-sonnet-4-6 gpt-4o gemini-2.0-flash; do
  omniroute eval suites run $SUITE_ID --model $MODEL --output json | jq '{model: .model, score: .score}'
done

CI integration

# Run and fail CI if score drops below threshold
SCORE=$(omniroute eval suites run $SUITE_ID --model claude-sonnet-4-6 --output jso
अक्सर पूछे जाने वाले सवाल

क्या मैं सिर्फ़ फ़ेल हुए केस देख सकता हूँ?

हाँ। results कमांड में failed विकल्प है, जो सिर्फ़ फ़ेल हुए केस दिखाता है।

क्या मैं चल रहे evaluation को रोक सकता हूँ?

हाँ। cancel कमांड रन को रोकता है, और yes फ़्लैग न देने पर पुष्टि माँगता है।

क्या यह CI में चल सकता है?

स्किल कहती है कि evaluation रन CI वर्कफ़्लो के साथ जोड़े जा सकते हैं।

जानकारी

लेखक का मूल विवरण

Create and run evaluation suites, watch live benchmark progress, view scorecards, compare model performance, and integrate eval runs with CI workflows from the CLI.

repo: cheaper-inference/OmniRoute

लोकप्रियता

GitHub स्टार
84k
रैंकिंग में स्थान
#1403
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills