LuisDialog<TResult>.BestIntentFrom(LuisResult) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
計算出從 中LuisResult獲得IntentRecommendation的最佳分數。
protected virtual Microsoft.Bot.Builder.Luis.Models.IntentRecommendation BestIntentFrom(Microsoft.Bot.Builder.Luis.Models.LuisResult result);
abstract member BestIntentFrom : Microsoft.Bot.Builder.Luis.Models.LuisResult -> Microsoft.Bot.Builder.Luis.Models.IntentRecommendation
override this.BestIntentFrom : Microsoft.Bot.Builder.Luis.Models.LuisResult -> Microsoft.Bot.Builder.Luis.Models.IntentRecommendation
Protected Overridable Function BestIntentFrom (result As LuisResult) As IntentRecommendation
參數
- result
- LuisResult
這是LUIS服務呼叫的結果。
傳回
最高分 IntentRecommendation數,或若 result 不包含任何意圖則為無效。