MemoryUpdateOptions Class

Definition

Options that describe a memory-store update request.

public class MemoryUpdateOptions : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Memory.MemoryUpdateOptions>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Memory.MemoryUpdateOptions>
type MemoryUpdateOptions = class
    interface IJsonModel<MemoryUpdateOptions>
    interface IPersistableModel<MemoryUpdateOptions>
Public Class MemoryUpdateOptions
Implements IJsonModel(Of MemoryUpdateOptions), IPersistableModel(Of MemoryUpdateOptions)
Inheritance
MemoryUpdateOptions
Implements

Constructors

Name Description
MemoryUpdateOptions(String)

Initializes a new instance of MemoryUpdateOptions.

Properties

Name Description
Items

The conversation items to write into the memory store.

PreviousUpdateId

The identifier of the previous update, used to chain or supersede a prior update.

Scope

The scope (for example, user or session identifier) that partitions the memory store.

UpdateDelay

Optional delay, in milliseconds, before the update is applied.

Explicit Interface Implementations

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

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

IJsonModel<MemoryUpdateOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MemoryUpdateOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MemoryUpdateOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MemoryUpdateOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to