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

QuestionAnsweringModelFactory.KnowledgeBaseAnswerPrompt 方法

定义

初始化 KnowledgeBaseAnswerPrompt 的新实例。

public static Azure.AI.Language.QuestionAnswering.KnowledgeBaseAnswerPrompt KnowledgeBaseAnswerPrompt (int? displayOrder = default, int? qnaId = default, string displayText = default);
static member KnowledgeBaseAnswerPrompt : Nullable<int> * Nullable<int> * string -> Azure.AI.Language.QuestionAnswering.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

参数

displayOrder
Nullable<Int32>

提示的索引 - 用于对提示进行排序。

qnaId
Nullable<Int32>

对应于提示的 QnA ID。

displayText
String

显示的文本表示后续问题提示。

返回

用于模拟的新 KnowledgeBaseAnswerPrompt 实例。

适用于