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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET