@okcashpro/okai v0.1.7-alpha.1 / Evaluator
Interface: Evaluator
Evaluator for assessing agent responses
Properties
alwaysRun?
optional
alwaysRun:boolean
Whether to always run
Defined in
packages/core/src/types.ts:441
description
description:
string
Detailed description
Defined in
packages/core/src/types.ts:444
similes
similes:
string
[]
Similar evaluator descriptions
Defined in
packages/core/src/types.ts:447
examples
examples:
EvaluationExample
[]
Example evaluations
Defined in
packages/core/src/types.ts:450
handler
handler:
Handler
Handler function
Defined in
packages/core/src/types.ts:453
name
name:
string
Evaluator name
Defined in
packages/core/src/types.ts:456
validate
validate:
Validator
Validation function