ConversationsModelFactory.QuestionAnsweringTargetIntentResult 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 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
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