Language

AzureAIProjectsModelFactory.MemoryUpdateOptions Method

Definition

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.

updateDelay
Nullable<Int32>

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.

Applies to