Udostępnij za pośrednictwem


ConversationsModelFactory.ConversationInput Method

Definition

Initializes a new instance of ConversationInput.

public static Azure.AI.Language.Conversations.Models.ConversationInput ConversationInput (string id = default, string language = default, string modality = default, Azure.AI.Language.Conversations.Models.ConversationDomain? domain = default);
static member ConversationInput : string * string * string * Nullable<Azure.AI.Language.Conversations.Models.ConversationDomain> -> Azure.AI.Language.Conversations.Models.ConversationInput
Public Shared Function ConversationInput (Optional id As String = Nothing, Optional language As String = Nothing, Optional modality As String = Nothing, Optional domain As Nullable(Of ConversationDomain) = Nothing) As ConversationInput

Parameters

id
String

Unique identifier for the conversation.

language
String

Language of the conversation item in BCP-47 format.

modality
String

modality.

domain
Nullable<ConversationDomain>

domain.

Returns

A new ConversationInput instance for mocking.

Applies to