共用方式為


TextAnalysisModelFactory.CustomSentimentAnalysisResult Method

Definition

Initializes a new instance of CustomSentimentAnalysisResult.

public static Azure.AI.Language.Text.CustomSentimentAnalysisResult CustomSentimentAnalysisResult (System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.DocumentError> errors = default, Azure.AI.Language.Text.RequestStatistics statistics = default, string projectName = default, string deploymentName = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.CustomSentimentAnalysisResultDocument> documents = default);
static member CustomSentimentAnalysisResult : seq<Azure.AI.Language.Text.DocumentError> * Azure.AI.Language.Text.RequestStatistics * string * string * seq<Azure.AI.Language.Text.CustomSentimentAnalysisResultDocument> -> Azure.AI.Language.Text.CustomSentimentAnalysisResult
Public Shared Function CustomSentimentAnalysisResult (Optional errors As IEnumerable(Of DocumentError) = Nothing, Optional statistics As RequestStatistics = Nothing, Optional projectName As String = Nothing, Optional deploymentName As String = Nothing, Optional documents As IEnumerable(Of CustomSentimentAnalysisResultDocument) = Nothing) As CustomSentimentAnalysisResult

Parameters

errors
IEnumerable<DocumentError>

Errors by document id.

statistics
RequestStatistics

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

projectName
String

This field indicates the project name for the model.

deploymentName
String

This field indicates the deployment name for the model.

documents
IEnumerable<CustomSentimentAnalysisResultDocument>

The custom sentiment analysis results for each document in the input.

Returns

A new CustomSentimentAnalysisResult instance for mocking.

Applies to