次の方法で共有


ConversationsModelFactory.AnswersResult Method

Definition

Initializes a new instance of AnswersResult.

public static Azure.AI.Language.Conversations.Models.AnswersResult AnswersResult (System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.Models.KnowledgeBaseAnswer> answers = default);
static member AnswersResult : seq<Azure.AI.Language.Conversations.Models.KnowledgeBaseAnswer> -> Azure.AI.Language.Conversations.Models.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