QnACardBuilder.GetQnADefaultResponse Metodo

Definizione

Ottenere la scheda per lo scenario predefinito di QnA Maker.

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

Parametri

result
QueryResult

Risultato da distribuire come richieste.

displayPreciseAnswerOnly
BoolExpression

Scelta per il rendering di una risposta precisa.

useTeamsAdaptiveCard
BoolExpression

Scegliere se usare una scheda adattiva formattata da Teams.

Restituisce

IMessageActivity.

Si applica a