Udostępnij za pośrednictwem


ConversationsModelFactory.ConversationTargetIntentResult Method

Definition

Initializes a new instance of ConversationTargetIntentResult.

public static Azure.AI.Language.Conversations.Models.ConversationTargetIntentResult ConversationTargetIntentResult (string apiVersion = default, double confidence = 0, Azure.AI.Language.Conversations.Models.ConversationResult result = default);
static member ConversationTargetIntentResult : string * double * Azure.AI.Language.Conversations.Models.ConversationResult -> Azure.AI.Language.Conversations.Models.ConversationTargetIntentResult
Public Shared Function ConversationTargetIntentResult (Optional apiVersion As String = Nothing, Optional confidence As Double = 0, Optional result As ConversationResult = Nothing) As ConversationTargetIntentResult

Parameters

apiVersion
String

The API version used to call a target service.

confidence
Double

The prediction score and it ranges from 0.0 to 1.0.

result
ConversationResult

The actual response from a Conversation project.

Returns

A new ConversationTargetIntentResult instance for mocking.

Applies to