Share via


ChatSummaryMemoryItem Class

Definition

A memory item specifically containing user profile information extracted from conversations, such as preferences, interests, and personal details.

public class ChatSummaryMemoryItem : Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryItem, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.MemoryStore.ChatSummaryMemoryItem>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.MemoryStore.ChatSummaryMemoryItem>
type ChatSummaryMemoryItem = class
    inherit MemoryItem
    interface IUtf8JsonSerializable
    interface IJsonModel<ChatSummaryMemoryItem>
    interface IPersistableModel<ChatSummaryMemoryItem>
Public Class ChatSummaryMemoryItem
Inherits MemoryItem
Implements IJsonModel(Of ChatSummaryMemoryItem), IPersistableModel(Of ChatSummaryMemoryItem)
Inheritance
ChatSummaryMemoryItem
Implements

Constructors

Name Description
ChatSummaryMemoryItem()

Initializes a new instance of ChatSummaryMemoryItem for deserialization.

ChatSummaryMemoryItem(String, DateTimeOffset, String, String, MemoryItemKind, IDictionary<String,BinaryData>)

Initializes a new instance of ChatSummaryMemoryItem.

ChatSummaryMemoryItem(String, DateTimeOffset, String, String)

Initializes a new instance of UserProfileMemoryItem.

Properties

Name Description
Content

The content of the memory.

(Inherited from MemoryItem)
Kind

The kind of the memory item.

(Inherited from MemoryItem)
MemoryId

The unique ID of the memory item.

(Inherited from MemoryItem)
Scope

The namespace that logically groups and isolates memories, such as a user ID.

(Inherited from MemoryItem)
UpdatedAt

The last update time of the memory item.

(Inherited from MemoryItem)

Methods

Name Description
DeserializeChatSummaryMemoryItem(JsonElement, ModelReaderWriterOptions)
FromResponse(Response)

Deserializes the model from a raw response.

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
ToRequestContent()

Convert into a RequestContent.

Explicit Interface Implementations

Name Description
IJsonModel<ChatSummaryMemoryItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ChatSummaryMemoryItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<MemoryItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from MemoryItem)
IJsonModel<MemoryItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MemoryItem)
IPersistableModel<ChatSummaryMemoryItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChatSummaryMemoryItem>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ChatSummaryMemoryItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<MemoryItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MemoryItem)
IPersistableModel<MemoryItem>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from MemoryItem)
IPersistableModel<MemoryItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MemoryItem)
IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to