Class: RelevancyEvaluator
Hierarchy
-
↳
RelevancyEvaluator
Implements
BaseEvaluator
Constructors
constructor
• new RelevancyEvaluator(params?
): RelevancyEvaluator
Parameters
Name | Type |
---|---|
params? | RelevancyParams |
Returns
Overrides
Defined in
packages/core/src/evaluation/Relevancy.ts:31
Properties
evalTemplate
• Private
evalTemplate: (__namedParameters
: { context
: string
; query
: string
}) => string
Type declaration
▸ («destructured»
): string
Parameters
Name | Type |
---|---|
«destructured» | Object |
› context | string |
› query | string |