Share via


ConversationsModelFactory.KnowledgeBaseAnswerPrompt Method

Definition

Initializes a new instance of KnowledgeBaseAnswerPrompt.

public static Azure.AI.Language.Conversations.Models.KnowledgeBaseAnswerPrompt KnowledgeBaseAnswerPrompt (int? displayOrder = default, int? qnaId = default, string displayText = default);
static member KnowledgeBaseAnswerPrompt : Nullable<int> * Nullable<int> * string -> Azure.AI.Language.Conversations.Models.KnowledgeBaseAnswerPrompt
Public Shared Function KnowledgeBaseAnswerPrompt (Optional displayOrder As Nullable(Of Integer) = Nothing, Optional qnaId As Nullable(Of Integer) = Nothing, Optional displayText As String = Nothing) As KnowledgeBaseAnswerPrompt

Parameters

displayOrder
Nullable<Int32>

Index of the prompt - used in ordering of the prompts.

qnaId
Nullable<Int32>

QnA ID corresponding to the prompt.

displayText
String

Text displayed to represent a follow up question prompt.

Returns

A new KnowledgeBaseAnswerPrompt instance for mocking.

Applies to