Chatbot Context

Official Content

As in any human conversation, where two or more people talk, there is a context known to all participants. They know what they are talking about, and the information they have already exchanged. This is crucial for good communication.

The same happens with a Chatbot.

In many cases, the information that the user exchanges with the chatbot should be stored in a space called "context" so that the chatbot doesn't need to ask for the same information again, repeatedly.

So, the context is the state information for the conversation.

In the conversation process, the context is always included in each (JSON) response.

What are the context parameters in the conversation?

  1.  &GXUserInput is a standard variable used to reproduce the user input
  2.  The input parameters of each of the Flows. For example, in a chatbot where the following Flows have been defined, some context parameters will be: &UserIdentification, &ComplaintDescription, &ComplaintAddress, &informationType.

image_201842512382_1_png

The context can be cleared, using the Clean Context Value property of the User inputs.

See also

HowTo: Referencing context parameters in a conversation

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.