Class: CorrectnessEvaluator
Correctness Evaluator
Hierarchy
-
↳
CorrectnessEvaluator
Implements
BaseEvaluator
Constructors
constructor
• new CorrectnessEvaluator(params?
): CorrectnessEvaluator
Parameters
Name | Type |
---|---|
params? | CorrectnessParams |
Returns
Overrides
Defined in
packages/core/src/evaluation/Correctness.ts:35
Properties
correctnessPrompt
• Private
correctnessPrompt: () => string
= defaultCorrectnessSystemPrompt
Type declaration
▸ (): string
Returns
string
Defined in
packages/core/src/evaluation/Correctness.ts:32
llm
• Private
llm: LLM
<object
, object
>
Defined in
packages/core/src/evaluation/Correctness.ts:30