你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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