LuisResult 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
LuisResult() |
初始化 LuisResult 类的新实例。 |
LuisResult(String, IList<EntityRecommendation>, IntentRecommendation, IList<IntentRecommendation>, IList<CompositeEntity>, DialogResponse, String) |
初始化 LuisResult 类的新实例。 |
LuisResult()
LuisResult(String, IList<EntityRecommendation>, IntentRecommendation, IList<IntentRecommendation>, IList<CompositeEntity>, DialogResponse, String)
- Source:
- LuisResult.cs
初始化 LuisResult 类的新实例。
public LuisResult (string query, System.Collections.Generic.IList<Microsoft.Bot.Builder.Luis.Models.EntityRecommendation> entities, Microsoft.Bot.Builder.Luis.Models.IntentRecommendation topScoringIntent = default, System.Collections.Generic.IList<Microsoft.Bot.Builder.Luis.Models.IntentRecommendation> intents = default, System.Collections.Generic.IList<Microsoft.Bot.Builder.Luis.Models.CompositeEntity> compositeEntities = default, Microsoft.Bot.Builder.Luis.Models.DialogResponse dialog = default, string alteredQuery = default);
new Microsoft.Bot.Builder.Luis.Models.LuisResult : string * System.Collections.Generic.IList<Microsoft.Bot.Builder.Luis.Models.EntityRecommendation> * Microsoft.Bot.Builder.Luis.Models.IntentRecommendation * System.Collections.Generic.IList<Microsoft.Bot.Builder.Luis.Models.IntentRecommendation> * System.Collections.Generic.IList<Microsoft.Bot.Builder.Luis.Models.CompositeEntity> * Microsoft.Bot.Builder.Luis.Models.DialogResponse * string -> Microsoft.Bot.Builder.Luis.Models.LuisResult
Public Sub New (query As String, entities As IList(Of EntityRecommendation), Optional topScoringIntent As IntentRecommendation = Nothing, Optional intents As IList(Of IntentRecommendation) = Nothing, Optional compositeEntities As IList(Of CompositeEntity) = Nothing, Optional dialog As DialogResponse = Nothing, Optional alteredQuery As String = Nothing)
参数
- query
- String
- entities
- IList<EntityRecommendation>
- topScoringIntent
- IntentRecommendation
- intents
- IList<IntentRecommendation>
- compositeEntities
- IList<CompositeEntity>
- dialog
- DialogResponse
- alteredQuery
- String