Class: FaithfulnessEvaluator
Extends
Implements
BaseEvaluator
Constructors
new FaithfulnessEvaluator()
new FaithfulnessEvaluator(
params
?):FaithfulnessEvaluator
Parameters
• params?
• params.faithFulnessRefinePrompt?
• params.faithfulnessSystemPrompt?
• params.raiseError?: boolean
• params.serviceContext?: ServiceContext
Returns
Overrides
Source
packages/core/src/evaluation/Faithfulness.ts:29
Properties
evalTemplate()
private
evalTemplate: (__namedParameters
) =>string
Parameters
• __namedParameters
• __namedParameters.context: string
• __namedParameters.query: string
Returns
string
Source
packages/core/src/evaluation/Faithfulness.ts:26