Freigeben über


MemoryStoreSearchResponse Constructors

Definition

Overloads

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
MemoryStoreOperationUsage

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
MemoryStoreOperationUsage

Usage statistics associated with the memory search operation.

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

Applies to