Condividi tramite


UpdateMemoriesRequest Constructors

Definition

Overloads

UpdateMemoriesRequest()

Source:
UpdateMemoriesRequest.cs

Initializes a new instance of UpdateMemoriesRequest for deserialization.

public UpdateMemoriesRequest();
Public Sub New ()

Applies to

UpdateMemoriesRequest(String)

Source:
UpdateMemoriesRequest.cs

Initializes a new instance of UpdateMemoriesRequest.

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

Parameters

scope
String

The namespace that logically groups and isolates memories, such as a user ID.

Exceptions

scope is null.

Applies to

UpdateMemoriesRequest(String, String, IReadOnlyList<ItemParam>, String, Nullable<Int32>, IDictionary<String,BinaryData>)

Source:
UpdateMemoriesRequest.cs

Initializes a new instance of UpdateMemoriesRequest.

public UpdateMemoriesRequest(string scope, string conversationId, System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemParam> items, string previousUpdateId, int? updateDelay, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData);
new Azure.AI.AgentServer.Contracts.Generated.MemoryStore.UpdateMemoriesRequest : string * string * System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemParam> * string * Nullable<int> * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.AgentServer.Contracts.Generated.MemoryStore.UpdateMemoriesRequest
Public Sub New (scope As String, conversationId As String, items As IReadOnlyList(Of ItemParam), previousUpdateId As String, updateDelay As Nullable(Of Integer), serializedAdditionalRawData As IDictionary(Of String, BinaryData))

Parameters

scope
String

The namespace that logically groups and isolates memories, such as a user ID.

conversationId
String

The conversation ID from which to extract memories. Only one of conversation_id or items should be provided.

previousUpdateId
String

The unique ID of the previous update request, enabling incremental memory updates from where the last operation left off. Cannot be used together with conversation_id.

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).

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

Applies to