Share via


TextAnalyticsModelFactory.AbstractiveSummarizeResult Method

Definition

Overloads

AbstractiveSummarizeResult(String, String, String)

Initializes a new instance of AbstractiveSummarizeResult for mocking purposes.

AbstractiveSummarizeResult(String, TextDocumentStatistics, IEnumerable<AbstractiveSummary>, IEnumerable<TextAnalyticsWarning>)

Initializes a new instance of AbstractiveSummarizeResult for mocking purposes.

AbstractiveSummarizeResult(String, String, String)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of AbstractiveSummarizeResult for mocking purposes.

public static Azure.AI.TextAnalytics.AbstractiveSummarizeResult AbstractiveSummarizeResult (string id, string code, string message);
static member AbstractiveSummarizeResult : string * string * string -> Azure.AI.TextAnalytics.AbstractiveSummarizeResult
Public Shared Function AbstractiveSummarizeResult (id As String, code As String, message As String) As AbstractiveSummarizeResult

Parameters

id
String

Sets the Id property.

code
String

Sets the ErrorCode property.

message
String

Sets the Message property.

Returns

A new instance of AbstractiveSummarizeResult for mocking purposes.

Applies to

AbstractiveSummarizeResult(String, TextDocumentStatistics, IEnumerable<AbstractiveSummary>, IEnumerable<TextAnalyticsWarning>)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of AbstractiveSummarizeResult for mocking purposes.

public static Azure.AI.TextAnalytics.AbstractiveSummarizeResult AbstractiveSummarizeResult (string id, Azure.AI.TextAnalytics.TextDocumentStatistics statistics, System.Collections.Generic.IEnumerable<Azure.AI.TextAnalytics.AbstractiveSummary> summaries, System.Collections.Generic.IEnumerable<Azure.AI.TextAnalytics.TextAnalyticsWarning> warnings = default);
static member AbstractiveSummarizeResult : string * Azure.AI.TextAnalytics.TextDocumentStatistics * seq<Azure.AI.TextAnalytics.AbstractiveSummary> * seq<Azure.AI.TextAnalytics.TextAnalyticsWarning> -> Azure.AI.TextAnalytics.AbstractiveSummarizeResult
Public Shared Function AbstractiveSummarizeResult (id As String, statistics As TextDocumentStatistics, summaries As IEnumerable(Of AbstractiveSummary), Optional warnings As IEnumerable(Of TextAnalyticsWarning) = Nothing) As AbstractiveSummarizeResult

Parameters

id
String

Sets the Id property.

statistics
TextDocumentStatistics

Sets the Statistics property.

summaries
IEnumerable<AbstractiveSummary>

Sets the Summaries property.

warnings
IEnumerable<TextAnalyticsWarning>

Sets the Warnings property.

Returns

A new instance of AbstractiveSummarizeResult for mocking purposes.

Applies to