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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET