Share via


ConversationActions Class

Definition

Contains the state for the tasks that are being executed as part of the submitted job for analyzing a conversation.

public class ConversationActions : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Conversations.Models.ConversationActions>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Conversations.Models.ConversationActions>
type ConversationActions = class
    interface IJsonModel<ConversationActions>
    interface IPersistableModel<ConversationActions>
Public Class ConversationActions
Implements IJsonModel(Of ConversationActions), IPersistableModel(Of ConversationActions)
Inheritance
ConversationActions
Implements

Properties

Completed

Count of tasks that finished successfully.

Failed

Count of tasks that failed.

InProgress

Count of tasks that are currently in progress.

Items

List of results from tasks (if available). Please note AnalyzeConversationOperationResult 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 ConversationPiiOperationResult, SummarizationOperationResult and CustomSummarizationOperationResult.

Total

Total count of tasks submitted as part of the job.

Explicit Interface Implementations

IJsonModel<ConversationActions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ConversationActions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConversationActions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConversationActions>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ConversationActions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to