Note: This is a Proof of Concept (PoC) implementation.
A web-based dashboard for visualizing, comparing, and managing lightspeed-evaluation results. Built with React 19 and Vite, it provides interactive charts, side-by-side evaluation comparison, PDF export, and the ability to run evaluations directly from the browser.
# Prerequisites: Node.js 20.19+ or 22.12+, lightspeed-eval Python package installed
make install
# Start development server with default values
make dev
# Start development server with desired values
LS_EVAL_SYSTEM_CFG_PATH=<path_to_system.yaml> LS_EVAL_DATA_PATH=<path_to_eval.yaml> LS_EVAL_REPORTS_PATH=<path_to_reports_dir> LS_EVAL_DASHBOARD_RUN_ENABLED=<true|false> npx viteOpen http://localhost:5173 in your browser.
The example above provides enough information to run the dashboard with the yaml files. See the API Configuration section below for API key and API run details.
| Variable | Required | Description |
|---|---|---|
LS_EVAL_SYSTEM_CFG_PATH |
Yes | Path to system.yaml |
LS_EVAL_DATA_PATH |
No | Path to eval.yaml |
LS_EVAL_REPORTS_PATH |
No | Path to reports directory |
LS_EVAL_DASHBOARD_RUN_ENABLED |
No | Enable/disable running evaluations from dashboard (default: true) |
- Node.js 20.19+ or 22.12+
- Python 3.11+ with
lightspeed-evalinstalled (for running evaluations) - OLS service running at the endpoint configured in
system.yaml
make install # Install npm dependencies
make dev # Start Vite dev server (port 5173)
npm run build # Production build to dist/
npm run preview # Preview production build
npm run lint # Run ESLint- Evaluation CSVs:
evaluation_YYYYMMDD_HHMMSS_detailed.csvinresults/ - Amended configs:
*_amended_YYYYMMDD_HHMMSS.yamlinresults/ - Graph PNGs:
evaluation_YYYYMMDD_HHMMSS_*.pnginresults/graphs/ - Conversations:
.yamlfiles inconversations/
Files are matched by their embedded timestamp (YYYYMMDD_HHMMSS). An evaluation CSV, its amended config, and its graphs all share the same timestamp.
The following environment variables are required when running evaluations from the dashboard:
| Variable | Required | Description |
|---|---|---|
API_KEY |
Yes | API key for OLS service (e.g. oc whoami -t) |
OPENAI_API_KEY |
For eval | API key for the judge LLM provider |
To start the development server with API keys:
API_KEY="$API_KEY" OPENAI_API_KEY="$OPENAI_API_KEY" npx vite