ProjectConversationsClient.GetProjectConversationItems Method

Definition

Gets the items in a project conversation.

public virtual System.ClientModel.CollectionResult<Azure.AI.Extensions.OpenAI.AgentResponseItem> GetProjectConversationItems(string conversationId, Azure.AI.Extensions.OpenAI.AgentResponseItemKind? itemKind = default, int? limit = default, string order = default, string after = default, string before = default, System.Collections.Generic.IEnumerable<OpenAI.Conversations.IncludedConversationItemProperty> include = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetProjectConversationItems : string * Nullable<Azure.AI.Extensions.OpenAI.AgentResponseItemKind> * Nullable<int> * string * string * string * seq<OpenAI.Conversations.IncludedConversationItemProperty> * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Extensions.OpenAI.AgentResponseItem>
override this.GetProjectConversationItems : string * Nullable<Azure.AI.Extensions.OpenAI.AgentResponseItemKind> * Nullable<int> * string * string * string * seq<OpenAI.Conversations.IncludedConversationItemProperty> * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Extensions.OpenAI.AgentResponseItem>
Public Overridable Function GetProjectConversationItems (conversationId As String, Optional itemKind As Nullable(Of AgentResponseItemKind) = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional order As String = Nothing, Optional after As String = Nothing, Optional before As String = Nothing, Optional include As IEnumerable(Of IncludedConversationItemProperty) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As CollectionResult(Of AgentResponseItem)

Parameters

conversationId
String

The ID of the conversation whose items should be retrieved.

itemKind
Nullable<AgentResponseItemKind>

The item kind used to filter the returned items.

limit
Nullable<Int32>

The maximum number of items to return.

order
String

The order used to sort returned items.

after
String

The item ID after which results should be returned.

before
String

The item ID before which results should be returned.

include
IEnumerable<OpenAI.Conversations.IncludedConversationItemProperty>

The additional item properties to include in the response.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

The project conversation items.

Applies to