Share via


MemorySearchToolCallItemResource Constructors

Definition

Overloads

MemorySearchToolCallItemResource()

Source:
MemorySearchToolCallItemResource.cs

Initializes a new instance of MemorySearchToolCallItemResource for deserialization.

public MemorySearchToolCallItemResource();
Public Sub New ()

Applies to

MemorySearchToolCallItemResource(String, MemorySearchToolCallItemResourceStatus)

Source:
MemorySearchToolCallItemResource.cs

Initializes a new instance of MemorySearchToolCallItemResource.

public MemorySearchToolCallItemResource(string id, Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchToolCallItemResourceStatus status);
new Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchToolCallItemResource : string * Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchToolCallItemResourceStatus -> Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchToolCallItemResource
Public Sub New (id As String, status As MemorySearchToolCallItemResourceStatus)

Parameters

id
String
status
MemorySearchToolCallItemResourceStatus

The status of the memory search tool call. One of in_progress, searching, completed, incomplete or failed,

Exceptions

id is null.

Applies to

MemorySearchToolCallItemResource(ItemType, String, CreatedBy, IDictionary<String,BinaryData>, MemorySearchToolCallItemResourceStatus, IReadOnlyList<MemorySearchItem>)

Source:
MemorySearchToolCallItemResource.cs

Initializes a new instance of MemorySearchToolCallItemResource.

public MemorySearchToolCallItemResource(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType type, string id, Azure.AI.AgentServer.Contracts.Generated.OpenAI.CreatedBy createdBy, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchToolCallItemResourceStatus status, System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchItem> results);
new Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchToolCallItemResource : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * string * Azure.AI.AgentServer.Contracts.Generated.OpenAI.CreatedBy * System.Collections.Generic.IDictionary<string, BinaryData> * Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchToolCallItemResourceStatus * System.Collections.Generic.IReadOnlyList<Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchItem> -> Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemorySearchToolCallItemResource
Public Sub New (type As ItemType, id As String, createdBy As CreatedBy, serializedAdditionalRawData As IDictionary(Of String, BinaryData), status As MemorySearchToolCallItemResourceStatus, results As IReadOnlyList(Of MemorySearchItem))

Parameters

type
ItemType
id
String
createdBy
CreatedBy

The information about the creator of the item.

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

status
MemorySearchToolCallItemResourceStatus

The status of the memory search tool call. One of in_progress, searching, completed, incomplete or failed,

results
IReadOnlyList<MemorySearchItem>

The results returned from the memory search.

Applies to