evaluate

command
v1.3.11 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package main demonstrates standalone eval execution with sdk.Evaluate().

This example shows:

  • Running evals from a PromptPack against a conversation snapshot
  • No live provider or agent connection needed — just messages in, results out
  • Filtering evals by trigger (every_turn vs on_session_complete)
  • Running evals from inline definitions (no pack file needed)
  • Receiving eval results via the EventBus for reactive workflows

Run with:

go run .

Jump to

Keyboard shortcuts

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