SearchMemoriesRequest 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 |
|---|---|
| SearchMemoriesRequest() |
Initializes a new instance of SearchMemoriesRequest for deserialization. |
| SearchMemoriesRequest(String) |
Initializes a new instance of SearchMemoriesRequest. |
| SearchMemoriesRequest(String, String, IReadOnlyList<ItemParam>, String, MemorySearchOptions, IDictionary<String,BinaryData>) |
Initializes a new instance of SearchMemoriesRequest. |
SearchMemoriesRequest()
- Source:
- SearchMemoriesRequest.cs
Initializes a new instance of SearchMemoriesRequest for deserialization.
public SearchMemoriesRequest();
Public Sub New ()
Applies to
SearchMemoriesRequest(String)
- Source:
- SearchMemoriesRequest.cs
Initializes a new instance of SearchMemoriesRequest.
public SearchMemoriesRequest(string scope);
new Azure.AI.AgentServer.Contracts.Generated.MemoryStore.SearchMemoriesRequest : string -> Azure.AI.AgentServer.Contracts.Generated.MemoryStore.SearchMemoriesRequest
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
SearchMemoriesRequest(String, String, IReadOnlyList<ItemParam>, String, MemorySearchOptions, IDictionary<String,BinaryData>)
- Source:
- SearchMemoriesRequest.cs
Initializes a new instance of SearchMemoriesRequest.
public SearchMemoriesRequest(string scope, string conversationId, System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemParam> items, string previousSearchId, Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchOptions options, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData);
new Azure.AI.AgentServer.Contracts.Generated.MemoryStore.SearchMemoriesRequest : string * string * System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemParam> * string * Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchOptions * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.AgentServer.Contracts.Generated.MemoryStore.SearchMemoriesRequest
Public Sub New (scope As String, conversationId As String, items As IReadOnlyList(Of ItemParam), previousSearchId As String, options As MemorySearchOptions, 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 for which to search memories. Only one of conversation_id or items should be provided.
- items
- IReadOnlyList<ItemParam>
Items for which to search for relevant 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.
- previousSearchId
- String
The unique ID of the previous search request, enabling incremental memory search from where the last operation left off. Cannot be used together with conversation_id.
- options
- MemorySearchOptions
Memory search options.
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.