QnAResponseContext Classe

  • java.lang.Object
    • com.microsoft.bot.ai.qna.models.QnAResponseContext

public class QnAResponseContext

Contesto associato a QnA. Usato per contrassegnare se la risposta qna ha richieste correlate da visualizzare.

Riepilogo dei costruttori

Costruttore Descrizione
QnAResponseContext()

Riepilogo dei metodi

Modificatore e tipo Metodo e descrizione
QnAMakerPrompt[] getPrompts()

Ottiene la raccolta di richieste di richieste correlate.

void setPrompts(QnAMakerPrompt[] withPrompts)

Imposta la raccolta di richieste di richiesta correlate.

Metodi ereditati da java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Dettagli costruttore

QnAResponseContext

public QnAResponseContext()

Dettagli metodo

getPrompts

public QnAMakerPrompt[] getPrompts()

Ottiene la raccolta di richieste di richieste correlate.

Restituisce:

Matrice di richieste QnA.

setPrompts

public void setPrompts(QnAMakerPrompt[] withPrompts)

Imposta la raccolta di richieste di richiesta correlate.

Parametri:

withPrompts - Matrice di richieste QnA.

Si applica a