Skip to main content
Represents the result of intent matching containing the matched intents with scores. This class stores the results of intent matching operations, including a collection of matched intents with their confidence scores.

Constructor

new MatchedIntents(
    intents: IntentMatchInterface[]
): MatchedIntents
Creates a new MatchedIntents instance.

Parameters

intents (IntentMatchInterface[]) The list of matched intents with scores.

Returns

MatchedIntents Overrides: AbstractApiDataType.constructor

Properties

intents

readonly intents: IntentMatchInterface[]
The matched intents along with their confidence scores.