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 或 Null result
。