Share via


QuestionAnsweringModelFactory.AnswersFromTextResult Method

Definition

Initializes a new instance of AnswersFromTextResult.

public static Azure.AI.Language.QuestionAnswering.AnswersFromTextResult AnswersFromTextResult (System.Collections.Generic.IEnumerable<Azure.AI.Language.QuestionAnswering.TextAnswer> answers = default);
static member AnswersFromTextResult : seq<Azure.AI.Language.QuestionAnswering.TextAnswer> -> Azure.AI.Language.QuestionAnswering.AnswersFromTextResult
Public Shared Function AnswersFromTextResult (Optional answers As IEnumerable(Of TextAnswer) = Nothing) As AnswersFromTextResult

Parameters

answers
IEnumerable<TextAnswer>

Represents the answer results.

Returns

A new AnswersFromTextResult instance for mocking.

Applies to