你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MemoryStoreDefaultOptions Class

Definition

Default memory store configurations.

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

Constructors

Name Description
MemoryStoreDefaultOptions()

Initializes a new instance of MemoryStoreDefaultOptions for deserialization.

MemoryStoreDefaultOptions(Boolean, Boolean)

Initializes a new instance of MemoryStoreDefaultOptions.

MemoryStoreDefaultOptions(Boolean, String, Boolean, IDictionary<String,BinaryData>)

Initializes a new instance of MemoryStoreDefaultOptions.

Properties

Name Description
ChatSummaryEnabled

Whether to enable chat summary extraction and storage. Default is true.

UserProfileDetails

Specific categories or types of user profile information to extract and store.

UserProfileEnabled

Whether to enable user profile extraction and storage. Default is true.

Methods

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

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

IJsonModel<MemoryStoreDefaultOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MemoryStoreDefaultOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MemoryStoreDefaultOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MemoryStoreDefaultOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to