Share via


AIConversation Class

Definition

The Conversations for ai conversation analysis.

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

Constructors

AIConversation(String, InputModality, String, IEnumerable<ConversationalAIItem>)

Initializes a new instance of AIConversation.

Properties

ConversationItems

List of conversation items.

Id

The ID of the conversation.

Language

Default language for all conversation items in BCP 47 language representation.

Modality

Default modality for all conversation items.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AIConversation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AIConversation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AIConversation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AIConversation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AIConversation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to