다음을 통해 공유


ConversationsModelFactory.ConversationPrediction Method

Definition

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