LabeledUtterance interface

範例的預測和標籤配對。

屬性

entityLabels

符合範例的實體。

entityPredictions

建議的實體清單。

id

標示語句的識別碼。

intentLabel

符合範例的意圖。

intentPredictions

建議的意圖清單。

text

語句。 例如,「西雅圖的天氣為何?」

tokenizedText

語句已標記化。

屬性詳細資料

entityLabels

符合範例的實體。

entityLabels?: EntityLabel[]

屬性值

entityPredictions

建議的實體清單。

entityPredictions?: EntityPrediction[]

屬性值

id

標示語句的識別碼。

id?: number

屬性值

number

intentLabel

符合範例的意圖。

intentLabel?: string

屬性值

string

intentPredictions

建議的意圖清單。

intentPredictions?: IntentPrediction[]

屬性值

text

語句。 例如,「西雅圖的天氣為何?」

text?: string

屬性值

string

tokenizedText

語句已標記化。

tokenizedText?: string[]

屬性值

string[]