ConversationsModelFactory.ConversationPrediction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ConversationPrediction.
public static Azure.AI.Language.Conversations.Models.ConversationPrediction ConversationPrediction (string topIntent = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.Models.ConversationIntent> intents = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.Models.ConversationEntity> entities = default);
static member ConversationPrediction : string * seq<Azure.AI.Language.Conversations.Models.ConversationIntent> * seq<Azure.AI.Language.Conversations.Models.ConversationEntity> -> Azure.AI.Language.Conversations.Models.ConversationPrediction
Public Shared Function ConversationPrediction (Optional topIntent As String = Nothing, Optional intents As IEnumerable(Of ConversationIntent) = Nothing, Optional entities As IEnumerable(Of ConversationEntity) = Nothing) As ConversationPrediction
Parameters
- topIntent
- String
The intent with the highest score.
- intents
- IEnumerable<ConversationIntent>
The intent classification results.
- entities
- IEnumerable<ConversationEntity>
The entity extraction results.
Returns
A new ConversationPrediction instance for mocking.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET