@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
| Parameter | Type |
|---|---|
value | TValue |
context | BehavioralCheckContext |
Returns
BehavioralCheckEvaluation | Promise<BehavioralCheckEvaluation>