ConversationsModelFactory.TextConversationItem 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.
Initializes a new instance of TextConversationItem.
public static Azure.AI.Language.Conversations.Models.TextConversationItem TextConversationItem (string id = default, string participantId = default, string language = default, Azure.AI.Language.Conversations.Models.InputModality? modality = default, Azure.AI.Language.Conversations.Models.ParticipantRole? role = default, string text = default);
static member TextConversationItem : string * string * string * Nullable<Azure.AI.Language.Conversations.Models.InputModality> * Nullable<Azure.AI.Language.Conversations.Models.ParticipantRole> * string -> Azure.AI.Language.Conversations.Models.TextConversationItem
Public Shared Function TextConversationItem (Optional id As String = Nothing, Optional participantId As String = Nothing, Optional language As String = Nothing, Optional modality As Nullable(Of InputModality) = Nothing, Optional role As Nullable(Of ParticipantRole) = Nothing, Optional text As String = Nothing) As TextConversationItem
Parameters
- id
- String
The ID of a conversation item.
- participantId
- String
The participant ID of a conversation item.
- language
- String
The override language of a conversation item in BCP 47 language representation.
- modality
- Nullable<InputModality>
Enumeration of supported conversational modalities.
- role
- Nullable<ParticipantRole>
Role of the participant.
- text
- String
The text input.
Returns
A new TextConversationItem instance for mocking.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET