ProjectsOpenAIModelFactory.MemorySearchTool Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A tool for integrating memories into the agent.
public static Azure.AI.Projects.OpenAI.MemorySearchTool MemorySearchTool(string memoryStoreName = default, string scope = default, Azure.AI.Projects.OpenAI.MemorySearchToolOptions searchOptions = default, int? updateDelay = default);
static member MemorySearchTool : string * string * Azure.AI.Projects.OpenAI.MemorySearchToolOptions * Nullable<int> -> Azure.AI.Projects.OpenAI.MemorySearchTool
Public Shared Function MemorySearchTool (Optional memoryStoreName As String = Nothing, Optional scope As String = Nothing, Optional searchOptions As MemorySearchToolOptions = Nothing, Optional updateDelay As Nullable(Of Integer) = Nothing) As MemorySearchTool
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.
- searchOptions
- MemorySearchToolOptions
Options for searching the memory store.
Time to wait before updating memories after inactivity (seconds). Default 300.
Returns
A new MemorySearchTool instance for mocking.