Udostępnij za pośrednictwem


ConversationsModelFactory.ConversationsSummaryResult Method

Definition

Initializes a new instance of ConversationsSummaryResult.

public static Azure.AI.Language.Conversations.Models.ConversationsSummaryResult ConversationsSummaryResult (string id = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.Models.InputWarning> warnings = default, Azure.AI.Language.Conversations.Models.ConversationStatistics statistics = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.Models.SummaryResultItem> summaries = default);
static member ConversationsSummaryResult : string * seq<Azure.AI.Language.Conversations.Models.InputWarning> * Azure.AI.Language.Conversations.Models.ConversationStatistics * seq<Azure.AI.Language.Conversations.Models.SummaryResultItem> -> Azure.AI.Language.Conversations.Models.ConversationsSummaryResult
Public Shared Function ConversationsSummaryResult (Optional id As String = Nothing, Optional warnings As IEnumerable(Of InputWarning) = Nothing, Optional statistics As ConversationStatistics = Nothing, Optional summaries As IEnumerable(Of SummaryResultItem) = Nothing) As ConversationsSummaryResult

Parameters

id
String

Unique, non-empty conversation identifier.

warnings
IEnumerable<InputWarning>

Warnings encountered in processing the document.

statistics
ConversationStatistics

If showStats=true was specified in the request this field will contain information about the conversation payload.

summaries
IEnumerable<SummaryResultItem>

array of summaries.

Returns

A new ConversationsSummaryResult instance for mocking.

Applies to