다음을 통해 공유


ConversationsModelFactory.TranscriptConversation Method

Definition

Initializes a new instance of TranscriptConversation.

public static Azure.AI.Language.Conversations.Models.TranscriptConversation TranscriptConversation (string id = default, string language = default, Azure.AI.Language.Conversations.Models.ConversationDomain? domain = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.Models.TranscriptConversationItem> conversationItems = default);
static member TranscriptConversation : string * string * Nullable<Azure.AI.Language.Conversations.Models.ConversationDomain> * seq<Azure.AI.Language.Conversations.Models.TranscriptConversationItem> -> Azure.AI.Language.Conversations.Models.TranscriptConversation
Public Shared Function TranscriptConversation (Optional id As String = Nothing, Optional language As String = Nothing, Optional domain As Nullable(Of ConversationDomain) = Nothing, Optional conversationItems As IEnumerable(Of TranscriptConversationItem) = Nothing) As TranscriptConversation

Parameters

id
String

Unique identifier for the conversation.

language
String

Language of the conversation item in BCP-47 format.

domain
Nullable<ConversationDomain>

domain.

conversationItems
IEnumerable<TranscriptConversationItem>

Ordered list of transcript conversation items in the conversation.

Returns

A new TranscriptConversation instance for mocking.

Applies to