Share via


ConversationsModelFactory.ConversationPiiResults Method

Definition

Initializes a new instance of ConversationPiiResults.

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

Parameters

errors
IEnumerable<DocumentError>

Errors by document id.

statistics
RequestStatistics

statistics.

modelVersion
String

This field indicates which model is used for scoring.

conversations
IEnumerable<ConversationalPiiResult>

array of conversations.

Returns

A new ConversationPiiResults instance for mocking.

Applies to