MemoryStoreSearchResponse 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 |
|---|---|
| MemoryStoreSearchResponse() |
Initializes a new instance of MemoryStoreSearchResponse for deserialization. |
| MemoryStoreSearchResponse(String, IEnumerable<MemorySearchItem>, MemoryStoreOperationUsage) |
Initializes a new instance of MemoryStoreSearchResponse. |
| MemoryStoreSearchResponse(String, IReadOnlyList<MemorySearchItem>, MemoryStoreOperationUsage, IDictionary<String,BinaryData>) |
Initializes a new instance of MemoryStoreSearchResponse. |
MemoryStoreSearchResponse()
- Source:
- MemoryStoreSearchResponse.cs
Initializes a new instance of MemoryStoreSearchResponse for deserialization.
public MemoryStoreSearchResponse();
Public Sub New ()
Applies to
MemoryStoreSearchResponse(String, IEnumerable<MemorySearchItem>, MemoryStoreOperationUsage)
- Source:
- MemoryStoreSearchResponse.cs
Initializes a new instance of MemoryStoreSearchResponse.
public MemoryStoreSearchResponse(string searchId, System.Collections.Generic.IEnumerable<Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchItem> memories, Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryStoreOperationUsage usage);
new Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryStoreSearchResponse : string * seq<Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchItem> * Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryStoreOperationUsage -> Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryStoreSearchResponse
Public Sub New (searchId As String, memories As IEnumerable(Of MemorySearchItem), usage As MemoryStoreOperationUsage)
Parameters
- searchId
- String
The unique ID of this search request. Use this value as previous_search_id in subsequent requests to perform incremental searches.
- memories
- IEnumerable<MemorySearchItem>
Related memory items found during the search operation.
Usage statistics associated with the memory search operation.
Exceptions
searchId, memories or usage is null.
Applies to
MemoryStoreSearchResponse(String, IReadOnlyList<MemorySearchItem>, MemoryStoreOperationUsage, IDictionary<String,BinaryData>)
- Source:
- MemoryStoreSearchResponse.cs
Initializes a new instance of MemoryStoreSearchResponse.
public MemoryStoreSearchResponse(string searchId, System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchItem> memories, Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryStoreOperationUsage usage, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData);
new Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryStoreSearchResponse : string * System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchItem> * Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryStoreOperationUsage * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryStoreSearchResponse
Public Sub New (searchId As String, memories As IReadOnlyList(Of MemorySearchItem), usage As MemoryStoreOperationUsage, serializedAdditionalRawData As IDictionary(Of String, BinaryData))
Parameters
- searchId
- String
The unique ID of this search request. Use this value as previous_search_id in subsequent requests to perform incremental searches.
- memories
- IReadOnlyList<MemorySearchItem>
Related memory items found during the search operation.
Usage statistics associated with the memory search operation.
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.