Besides the natural language inputs of the user, client applications can also include input parameters in their requests to Teneo. The values of these input parameters can then be stored in for example global variables, so that they can be used by flows, integrations, etc.
More details on how client applications can interact with Teneo can be found on the Teneo Engine client API page in Deploy your bot.
In this example we will assume that requests from the client application can include an input parameter called “discountParameter” that we want to store in a global variable. To store it we need to do two things:
To create the global variable to store the discount code of the user, proceed as follows:
discountCode
, and set its initial value to the empty string: ""
.#chatbot #machine learning & # ai #chatbot development #conversational ai #conversational ai chatbot