Lingua

MemoryUpdateOptions Class

Definition

The MemoryUpdateOptions.

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 namespace that logically groups and isolates memories, such as a user ID.

UpdateDelay

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

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Operators

Name Description
Implicit(MemoryUpdateOptions to BinaryContent)

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