LabeledUtterance interface

A prediction and label pair of an example.

Properties

entityLabels

The entities matching the example.

entityPredictions

List of suggested entities.

id

ID of Labeled Utterance.

intentLabel

The intent matching the example.

intentPredictions

List of suggested intents.

text

The utterance. For example, "What's the weather like in seattle?"

tokenizedText

The utterance tokenized.

Property Details

entityLabels

The entities matching the example.

entityLabels?: EntityLabel[]

Property Value

entityPredictions

List of suggested entities.

entityPredictions?: EntityPrediction[]

Property Value

id

ID of Labeled Utterance.

id?: number

Property Value

number

intentLabel

The intent matching the example.

intentLabel?: string

Property Value

string

intentPredictions

List of suggested intents.

intentPredictions?: IntentPrediction[]

Property Value

text

The utterance. For example, "What's the weather like in seattle?"

text?: string

Property Value

string

tokenizedText

The utterance tokenized.

tokenizedText?: string[]

Property Value

string[]