You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can add a context variable by editing the payload in app.js, but I would like to update a context variable when a user submits a message. I tried changing the payload in api.js to look like this:
There is an updateMessage function according to the Watson API but the api.js component does not use this.
Any ideas on how I can update the context variable?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I can add a context variable by editing the payload in app.js, but I would like to update a context variable when a user submits a message. I tried changing the payload in api.js to look like this:
There is an updateMessage function according to the Watson API but the api.js component does not use this.
Any ideas on how I can update the context variable?
Thanks in advance.
The text was updated successfully, but these errors were encountered: