Share via


MemoryStoreDefaultDefinition Class

Definition

Default memory store implementation.

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

Constructors

Name Description
MemoryStoreDefaultDefinition()

Initializes a new instance of MemoryStoreDefaultDefinition for deserialization.

MemoryStoreDefaultDefinition(MemoryStoreKind, IDictionary<String,BinaryData>, String, String, MemoryStoreDefaultOptions)

Initializes a new instance of MemoryStoreDefaultDefinition.

MemoryStoreDefaultDefinition(String, String)

Initializes a new instance of MemoryStoreDefaultDefinition.

Properties

Name Description
ChatModel

The name or identifier of the chat completion model deployment used for memory processing.

EmbeddingModel

The name or identifier of the embedding model deployment used for memory processing.

Kind

The kind of the memory store.

(Inherited from MemoryStoreDefinition)
Options

Default memory store options.

Methods

Name Description
DeserializeMemoryStoreDefaultDefinition(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<MemoryStoreDefaultDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MemoryStoreDefaultDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<MemoryStoreDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from MemoryStoreDefinition)
IPersistableModel<MemoryStoreDefaultDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MemoryStoreDefaultDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MemoryStoreDefaultDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<MemoryStoreDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from MemoryStoreDefinition)
IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to