validation

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package validation provides helpers for step output validation, including semantic (LLM-based) validation for the ArkRun controller and ark run CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSemanticValidateFn

func BuildSemanticValidateFn() func(ctx context.Context, model, prompt string) (string, error)

BuildSemanticValidateFn returns a SemanticValidateFn that makes a single-turn LLM call for step output validation. The returned function is safe to call concurrently. Provider credentials are read from the environment at call time (ANTHROPIC_API_KEY, OPENAI_API_KEY, OPENAI_BASE_URL, etc.).

Types

This section is empty.

Jump to

Keyboard shortcuts

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