AzureAIProjectsModelFactory.MemoryUpdateOptions 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.
The MemoryUpdateOptions.
public static Azure.AI.Projects.Memory.MemoryUpdateOptions MemoryUpdateOptions(string scope = default, System.Collections.Generic.IEnumerable<OpenAI.Responses.ResponseItem> items = default, string previousUpdateId = default, int? updateDelay = default);
static member MemoryUpdateOptions : string * seq<OpenAI.Responses.ResponseItem> * string * Nullable<int> -> Azure.AI.Projects.Memory.MemoryUpdateOptions
Public Shared Function MemoryUpdateOptions (Optional scope As String = Nothing, Optional items As IEnumerable(Of ResponseItem) = Nothing, Optional previousUpdateId As String = Nothing, Optional updateDelay As Nullable(Of Integer) = Nothing) As MemoryUpdateOptions
Parameters
- scope
- String
The namespace that logically groups and isolates memories, such as a user ID.
- items
- IEnumerable<OpenAI.Responses.ResponseItem>
Conversation items to be stored in memory.
- previousUpdateId
- String
The unique ID of the previous update request, enabling incremental memory updates from where the last operation left off.
Timeout period before processing the memory update in seconds. If a new update request is received during this period, it will cancel the current request and reset the timeout. Set to 0 to immediately trigger the update without delay. Defaults to 300 (5 minutes).
Returns
A new MemoryUpdateOptions instance for mocking.