简体   繁体   中英

Watson Assistant: Context variable in slot is not being updated

I'm currently working with some required slots in Watson Assistant, but I have a problem that I don't understand. When the user enters the node with the slot the first time, the variable is updated with the corresponding value, but the second time I try to enter the node (without entering the entity), it ignores the slot as if the entity had been entered. I know that the context variable is keeping the original value, but should not verify that the entity exists instead of the variable?. Are there some best practices to clean this kind of context variables (either in the UI tool or the backend)?

A context variable can be used to store values across dialog steps. You determine when it is set and when it is cleared. You can clear the context variable by either

Usage depends on your design and flow.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM