ActiveLearningUtils class
Generate Answer api utils class.
Properties
Maximum |
Maximum Score For Low Score Variation. |
Max |
Max Low Score Variation Multiplier. |
Minimum |
Minimum Score For Low Score Variation. |
Previous |
Previous Low Score Variation Multiplier. |
Methods
get |
Returns list of qnaSearch results which have low score variation. |
Property Details
MaximumScoreForLowScoreVariation
Maximum Score For Low Score Variation.
static MaximumScoreForLowScoreVariation: 95 = 95
Property Value
95
MaxLowScoreVariationMultiplier
Max Low Score Variation Multiplier.
static MaxLowScoreVariationMultiplier: 1 = 1
Property Value
1
MinimumScoreForLowScoreVariation
Minimum Score For Low Score Variation.
static MinimumScoreForLowScoreVariation: 20 = 20
Property Value
20
PreviousLowScoreVariationMultiplier
Previous Low Score Variation Multiplier.
static PreviousLowScoreVariationMultiplier: 0.7 = 0.7
Property Value
0.7
Method Details
getLowScoreVariation(QnAMakerResult[])
Returns list of qnaSearch results which have low score variation.
static function getLowScoreVariation(qnaSearchResults: QnAMakerResult[]): QnAMakerResult[]
Parameters
- qnaSearchResults
A list of results returned from the QnA getAnswer call.
Returns
List of filtered qnaSearch results.