Condividi tramite


QuestionAnsweringModelFactory.AnswersResult Method

Definition

Initializes a new instance of AnswersResult.

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

Parameters

answers
IEnumerable<KnowledgeBaseAnswer>

Represents Answer Result list.

Returns

A new AnswersResult instance for mocking.

Applies to