Skip to content

About

Benchmarking LLM-powered chatbots across response quality, accuracy, latency, and resource usage under consistent evaluation conditions. ๐Ÿ“Š

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

67 Commits

Folders and files

Repository files navigation

image

Sonora End-to-End Chatbot Benchmark

Compare language models as complete customer-support agents, not as answer generators alone. Every candidate works with the same fictional Sonora store policy, product and order data, tools, and evaluation settings.


Latest development results: v1.0.0-rc.2. GPT-6 Luna led the eight-model run with 53 of 55 sessions resolved.

Latest official snapshot: v0.0.1. Follow the benchmark release runbook for judge calibration, candidate selection, held-out evaluation, and repeatability.


How it works

  • A deterministic BM25 retriever searches the fixed policy corpus.
  • Read-only tools query a fictional SQLite database for product and order facts.
  • Promptfoo runs multi-turn scenarios and grades answer quality, grounding, and directness. Resolution requires a complete reply, correct and grounded answers, and successful tool checks on every turn. Directness and exact policy-section recall appear as diagnostics.
  • Expected answers and labels are used for grading only; they are not shown to the model.

This measures the full model, prompt, retrieval, and tool workflow. It is not an isolated model-knowledge test or a production-ready semantic search system.

Quick start

Requires Node.js 22.22 or later.

npm ci
npm run check
npm run smoke
npm run preview -- --models nova-micro
npm run --silent benchmark:replay -- archive

smoke uses offline fixtures to check the evaluation wiring. preview prepares a live configuration and request ceiling without invoking models.

Paid live runs

Copy .env.example to .env and configure the credentials for your selected routes. Preview the full run and use the runbook to decide what to run and budget before starting paid calls.

npm run benchmark -- --live --allow-paid --models nova-micro
npm run full-benchmark -- --allow-paid "$run_root" "$judge" "$request_cap" "${models[@]}"

Live runs may incur charges. Pass the candidate keys, independent judge key, and request ceiling explicitly for the full development suite.

Evaluation data

  • evaluation/datasets/golden/development.jsonl is for development and prompt iteration. Its labels are drafts and should be independently reviewed before using scores for decisions.
  • evaluation/datasets/golden/heldout.jsonl is reserved for release-candidate checks. The cases are public, so this is not a blind test set.
  • evaluation/datasets/smoke.jsonl contains offline fixtures for wiring checks.
  • evaluation/datasets/golden/workflows.draft.jsonl adds 12 multi-turn workflows awaiting independent label review.

Live runs use the development dataset by default. See evaluation/datasets/README.md for the data format and dataset guidance.

Results and versions

Run output is written to the ignored evaluation/results/ directory. Published development snapshots are stored under evaluation/development-results/v<version>/. Official snapshots are stored under evaluation/official-results/v<version>/.

Latest development run (v1.0.0-rc.2, November 28, 2026) evaluated eight models on 55 development sessions each. It recorded 464 attempted turns and zero provider or grader errors. The estimated cost was $2.73. GPT-6.1 Sol graded all eight candidates and served only as the judge. Session comparison ยท Latency and cost

Latest official run (v0.0.1, November 8, 2026) evaluated 10 models across 580 attempted turns (307 passed, 271 failed, 2 provider errors), 1 h 32 min 42 s of elapsed time, and an estimated combined cost of $3.869.

Winner by turn pass rate: gpt-6-luna โ€” 57/58 passes (98.3%).

Scores are from the development dataset; gpt-6.1-sol judged every candidate, including itself. See the full run summary.

The first official snapshot is v0.0.1, with its summary and release metadata. See the versioning guide before creating a new official version.

Project files

All customer, product, order, and policy data is fictional. The operational database is read-only and must not be replaced with real customer data.

MIT License.

About

Benchmarking LLM-powered chatbots across response quality, accuracy, latency, and resource usage under consistent evaluation conditions. ๐Ÿ“Š

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages