Share via


MemorySearchTool Constructors

Definition

Overloads

MemorySearchTool()

Source:
MemorySearchTool.cs

Initializes a new instance of MemorySearchTool for deserialization.

public MemorySearchTool();
Public Sub New ()

Applies to

MemorySearchTool(String, String)

Source:
MemorySearchTool.cs

Initializes a new instance of MemorySearchTool.

public MemorySearchTool(string memoryStoreId, string scope);
new Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchTool : string * string -> Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchTool
Public Sub New (memoryStoreId As String, scope As String)

Parameters

memoryStoreId
String

The ID of the memory store to use.

scope
String

The namespace used to group and isolate memories, such as a user ID. Limits which memories can be retrieved or updated.

Exceptions

memoryStoreId or scope is null.

Applies to

MemorySearchTool(ToolType, IDictionary<String,BinaryData>, String, String, MemorySearchOptions, Nullable<TimeSpan>)

Source:
MemorySearchTool.cs

Initializes a new instance of MemorySearchTool.

public MemorySearchTool(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string memoryStoreId, string scope, Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchOptions searchOptions, TimeSpan? updateDelay);
new Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchTool : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolType * System.Collections.Generic.IDictionary<string, BinaryData> * string * string * Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchOptions * Nullable<TimeSpan> -> Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchTool
Public Sub New (type As ToolType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), memoryStoreId As String, scope As String, searchOptions As MemorySearchOptions, updateDelay As Nullable(Of TimeSpan))

Parameters

type
ToolType
serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

memoryStoreId
String

The ID of the memory store to use.

scope
String

The namespace used to group and isolate memories, such as a user ID. Limits which memories can be retrieved or updated.

searchOptions
MemorySearchOptions

Options for searching the memory store.

updateDelay
Nullable<TimeSpan>

The amount of time to wait after inactivity before updating memories with messages from the call (e.g., '0s', '5m'). Defaults to '60s'.

Applies to