Discover Packages
github.com/AltairaLabs/PromptKit/sdk/v2
examples
evaluate
command
Version:
v2.15.0
Opens a new window with list of versions in this module.
Published: Oct 30, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
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.
Opens a new window with list of known importers.
README
README
¶
Standalone Evaluate Example
Run evals against a conversation snapshot with sdk.Evaluate() — no live provider
or agent connection needed, just messages in, results out.
What it shows
Running evals from a PromptPack against a conversation snapshot
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
Recording eval results as Prometheus metrics via a MetricsCollector
Validating that all eval types are registered before execution
Extending the eval registry with custom exec handlers via RuntimeConfig
Running
cd sdk/examples/evaluate
go run .
Expand ▾
Collapse ▴
Documentation
¶
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
Recording eval results as Prometheus metrics via MetricsCollector
Validating that all eval types are registered before execution
Extending the eval registry with custom exec handlers via RuntimeConfig
Run with:
go run .
Source Files
¶
Click to show internal directories.
Click to hide internal directories.