Udostępnij za pośrednictwem


ConversationsModelFactory.SummaryResult Method

Definition

Initializes a new instance of SummaryResult.

public static Azure.AI.Language.Conversations.Models.SummaryResult SummaryResult (System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.Models.ConversationsSummaryResult> conversations = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.Models.DocumentError> errors = default, Azure.AI.Language.Conversations.Models.RequestStatistics statistics = default, string modelVersion = default);
static member SummaryResult : seq<Azure.AI.Language.Conversations.Models.ConversationsSummaryResult> * seq<Azure.AI.Language.Conversations.Models.DocumentError> * Azure.AI.Language.Conversations.Models.RequestStatistics * string -> Azure.AI.Language.Conversations.Models.SummaryResult
Public Shared Function SummaryResult (Optional conversations As IEnumerable(Of ConversationsSummaryResult) = Nothing, Optional errors As IEnumerable(Of DocumentError) = Nothing, Optional statistics As RequestStatistics = Nothing, Optional modelVersion As String = Nothing) As SummaryResult

Parameters

conversations
IEnumerable<ConversationsSummaryResult>

array of conversations.

errors
IEnumerable<DocumentError>

Errors by document id.

statistics
RequestStatistics

statistics.

modelVersion
String

This field indicates which model is used for scoring.

Returns

A new SummaryResult instance for mocking.

Applies to