UpdateMemoriesRequest Constructors
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.
Overloads
| Name | Description |
|---|---|
| UpdateMemoriesRequest() |
Initializes a new instance of UpdateMemoriesRequest for deserialization. |
| UpdateMemoriesRequest(String) |
Initializes a new instance of UpdateMemoriesRequest. |
| UpdateMemoriesRequest(String, String, IReadOnlyList<ItemParam>, String, Nullable<Int32>, IDictionary<String,BinaryData>) |
Initializes a new instance of UpdateMemoriesRequest. |
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.
- items
- IReadOnlyList<ItemParam>
Conversation items from which to extract memories. Only one of conversation_id or items should be provided. Please note ItemParam is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ResponsesAssistantMessageItemParam, CodeInterpreterToolCallItemParam, ComputerToolCallItemParam, ComputerToolCallOutputItemParam, ResponsesDeveloperMessageItemParam, FileSearchToolCallItemParam, FunctionToolCallItemParam, FunctionToolCallOutputItemParam, ImageGenToolCallItemParam, ItemReferenceItemParam, LocalShellToolCallItemParam, LocalShellToolCallOutputItemParam, MCPApprovalRequestItemParam, MCPApprovalResponseItemParam, MCPCallItemParam, MCPListToolsItemParam, MemorySearchToolCallItemParam, ResponsesMessageItemParam, ReasoningItemParam, ResponsesSystemMessageItemParam, ResponsesUserMessageItemParam and WebSearchToolCallItemParam.
- 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.
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.