你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConversationsModelFactory.AnalyzeConversationOperationInput Method

Definition

Initializes a new instance of AnalyzeConversationOperationInput.

public static Azure.AI.Language.Conversations.Models.AnalyzeConversationOperationInput AnalyzeConversationOperationInput(string displayName = default, Azure.AI.Language.Conversations.Models.MultiLanguageConversationInput conversationInput = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.Models.AnalyzeConversationOperationAction> actions = default, float? cancelAfter = default);
static member AnalyzeConversationOperationInput : string * Azure.AI.Language.Conversations.Models.MultiLanguageConversationInput * seq<Azure.AI.Language.Conversations.Models.AnalyzeConversationOperationAction> * Nullable<single> -> Azure.AI.Language.Conversations.Models.AnalyzeConversationOperationInput
Public Shared Function AnalyzeConversationOperationInput (Optional displayName As String = Nothing, Optional conversationInput As MultiLanguageConversationInput = Nothing, Optional actions As IEnumerable(Of AnalyzeConversationOperationAction) = Nothing, Optional cancelAfter As Nullable(Of Single) = Nothing) As AnalyzeConversationOperationInput

Parameters

displayName
String

Display name for the analysis job.

conversationInput
MultiLanguageConversationInput

Analysis Input.

actions
IEnumerable<AnalyzeConversationOperationAction>

Set of tasks to execute on the input conversation. Please note AnalyzeConversationOperationAction is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include PiiOperationAction, SummarizationOperationAction and CustomSummarizationOperationAction.

cancelAfter
Nullable<Single>

Optional duration in seconds after which the job will be canceled if not completed.

Returns

A new AnalyzeConversationOperationInput instance for mocking.

Applies to