eval

command
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: BSD-2-Clause Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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