共用方式為


IIntentRecognizerResult interface

意圖辨識器傳回的結果。

Extends

屬性

entities

可辨識的實體清單。

expression

相符的正則表達式。

intent

符合的最上層意圖。

intents

相符意圖的完整清單。

matched

相符的 表示式結果。 matched[0] 將會是相符且相符的文字[1...n] 是擷取群組的結果。

score

從 0.0 - 1.0 大規模了解使用者語句的信心。

屬性詳細資料

entities

可辨識的實體清單。

entities?: IEntity[]

屬性值

expression

相符的正則表達式。

expression?: RegExp

屬性值

RegExp

intent

符合的最上層意圖。

intent: string

屬性值

string

intents

相符意圖的完整清單。

intents?: IIntent[]

屬性值

matched

相符的 表示式結果。 matched[0] 將會是相符且相符的文字[1...n] 是擷取群組的結果。

matched?: string[]

屬性值

string[]

score

從 0.0 - 1.0 大規模了解使用者語句的信心。

score: number

屬性值

number