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.
Click to show internal directories.
Click to hide internal directories.