Skip to content

@sqlrooms/evals / BehavioralCheckOptions

Type Alias: BehavioralCheckOptions<TValue>

BehavioralCheckOptions<TValue> = object

Definition for a behavioral check over one part of the run context.

Type Parameters

Type Parameter
TValue

Properties

id

id: string

Methods

evaluate()

evaluate(value, context): BehavioralCheckEvaluation | Promise<BehavioralCheckEvaluation>

Parameters

ParameterType
valueTValue
contextBehavioralCheckContext

Returns

BehavioralCheckEvaluation | Promise<BehavioralCheckEvaluation>