Udostępnij za pośrednictwem


ConversationsModelFactory.QuestionAnsweringTargetIntentResult Method

Definition

Initializes a new instance of QuestionAnsweringTargetIntentResult.

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

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
AnswersResult

The generated answer by a Question Answering KB.

Returns

A new QuestionAnsweringTargetIntentResult instance for mocking.

Applies to