QnACardBuilder.GetQnAPromptsCard(QueryResult, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 MultiTurn 案例的卡片。 (可以從 4.10.0 版 sdk) 淘汰。
public static Microsoft.Bot.Schema.IMessageActivity GetQnAPromptsCard(Microsoft.Bot.Builder.AI.QnA.QueryResult result, string cardNoMatchText = "");
static member GetQnAPromptsCard : Microsoft.Bot.Builder.AI.QnA.QueryResult * string -> Microsoft.Bot.Schema.IMessageActivity
Public Shared Function GetQnAPromptsCard (result As QueryResult, Optional cardNoMatchText As String = "") As IMessageActivity
參數
- result
- QueryResult
結果會顯示為提示。
- cardNoMatchText
- String
沒有相符的文字。
傳回
IMessageActivity。