Class: CorrectnessEvaluator
Correctness Evaluator
Extends
Implements
BaseEvaluator
Constructors
new CorrectnessEvaluator()
new CorrectnessEvaluator(
params
?):CorrectnessEvaluator
Parameters
• params?: CorrectnessParams
Returns
Overrides
Source
packages/core/src/evaluation/Correctness.ts:35
Properties
correctnessPrompt()
private
correctnessPrompt: () =>string
=defaultCorrectnessSystemPrompt
Returns
string
Source
packages/core/src/evaluation/Correctness.ts:32
llm
private
llm:LLM
<object
,object
>
Source
packages/core/src/evaluation/Correctness.ts:30
parserFunction()
private
parserFunction: (str
) => [number
,string
]