Share via


MemorySearchTool(String, String) Constructor

Definition

Initializes a new instance of MemorySearchTool.

public MemorySearchTool(string memoryStoreName, string scope);
new Azure.AI.Projects.OpenAI.MemorySearchTool : string * string -> Azure.AI.Projects.OpenAI.MemorySearchTool
Public Sub New (memoryStoreName As String, scope As String)

Parameters

memoryStoreName
String

The name 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. Use special variable {{$userId}} to scope memories to the current signed-in user.

Exceptions

memoryStoreName or scope is null.

Applies to