autointent.modules.scoring#

These modules take utterance as input and output predicted probabilities for each intent.

Classes#

DescriptionScorer

Scoring module that scores utterances based on similarity to intent descriptions.

DNNCScorer

Scoring module for intent classification using a discriminative nearest neighbor classification (DNNC).

KNNScorer

K-nearest neighbors (KNN) scorer for intent classification.

RerankScorer

Re-ranking scorer using a cross-encoder for intent classification.

LinearScorer

Scoring module for linear classification using logistic regression.

MLKnnScorer

Multi-label k-nearest neighbors (ML-KNN) scorer.