ProjectConversationsClient.CreateProjectConversationAsync Method
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.
Asynchronously creates a project conversation.
public virtual System.Threading.Tasks.Task<System.ClientModel.ClientResult<Azure.AI.Extensions.OpenAI.ProjectConversation>> CreateProjectConversationAsync(Azure.AI.Extensions.OpenAI.ProjectConversationCreationOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateProjectConversationAsync : Azure.AI.Extensions.OpenAI.ProjectConversationCreationOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.ClientModel.ClientResult<Azure.AI.Extensions.OpenAI.ProjectConversation>>
override this.CreateProjectConversationAsync : Azure.AI.Extensions.OpenAI.ProjectConversationCreationOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.ClientModel.ClientResult<Azure.AI.Extensions.OpenAI.ProjectConversation>>
Public Overridable Function CreateProjectConversationAsync (Optional options As ProjectConversationCreationOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ClientResult(Of ProjectConversation))
Parameters
The options used to create the conversation.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
The created project conversation.