ActiveLearningUtils class

Generate Answer api utils class.

Properties

MaximumScoreForLowScoreVariation

Maximum Score For Low Score Variation.

MaxLowScoreVariationMultiplier

Max Low Score Variation Multiplier.

MinimumScoreForLowScoreVariation

Minimum Score For Low Score Variation.

PreviousLowScoreVariationMultiplier

Previous Low Score Variation Multiplier.

Methods

getLowScoreVariation(QnAMakerResult[])

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

QnAMakerResult[]

A list of results returned from the QnA getAnswer call.

Returns

List of filtered qnaSearch results.