eval

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2026 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Overview

Command eval is a tiny demo bot for the jargo eval harness. It serves an eval endpoint over a plain WebSocket — no WebRTC, no API keys — so you can drive it with the CLI or from a Go test.

Run it and eval it from the command line:

go run ./examples/eval    # serves ws://localhost:8080
go run ./cmd/jargo eval run examples/eval/scenarios/greeting.yaml --bot-url ws://localhost:8080

Name the folder to play every scenario in it:

go run ./cmd/jargo eval run examples/eval/scenarios --bot-url ws://localhost:8080

Or run the same scenario in-process:

go test ./examples/eval

A real bot would wire an STT/LLM/TTS in buildBot; this one uses a canned, deterministic responder so the example is self-contained and its assertions are stable.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL