Delen via


QnACardBuilder.GetQnADefaultResponse Methode

Definitie

Kaart ophalen voor standaard QnA Maker-scenario.

public static Microsoft.Bot.Schema.IMessageActivity GetQnADefaultResponse (Microsoft.Bot.Builder.AI.QnA.QueryResult result, AdaptiveExpressions.Properties.BoolExpression displayPreciseAnswerOnly, AdaptiveExpressions.Properties.BoolExpression useTeamsAdaptiveCard = default);
static member GetQnADefaultResponse : Microsoft.Bot.Builder.AI.QnA.QueryResult * AdaptiveExpressions.Properties.BoolExpression * AdaptiveExpressions.Properties.BoolExpression -> Microsoft.Bot.Schema.IMessageActivity
Public Shared Function GetQnADefaultResponse (result As QueryResult, displayPreciseAnswerOnly As BoolExpression, Optional useTeamsAdaptiveCard As BoolExpression = Nothing) As IMessageActivity

Parameters

result
QueryResult

Resultaat dat moet worden ontbonden als prompts.

displayPreciseAnswerOnly
BoolExpression

Keuze om nauwkeurig antwoord weer te geven.

useTeamsAdaptiveCard
BoolExpression

Kies of u een adaptieve kaart met Teams-indeling wilt gebruiken.

Retouren

IMessageActivity.

Van toepassing op