简体   繁体   中英

IBM Watson Assistant: user input button label as text instead of click the button

I'm using IBM Watson Assistant's option responses for my chatbot. I have put entity value "A" as the button label and the corresponding values are like "definition of A". However, when assistant display the option and button, if user input "A" as text instead of click the button, I cannot respond the correct message as for "definition of A".

Others have suggest me to set a separate node only for this entity "A", but I'm using the same button labels for several questions and are expecting different responses under different situation. Also, I have tried to use slots, but I want the assistant redirect user to another node with option responses instead of respond with certain text.

Can anyone give me some suggestion on this matter?

The others were right. You can use the "A" entity in a new node. You can re-use entities, the values are overridden when the user responds. If this is not happening, you can handle it yourself by using a context variable to store their answers instead of an entity.

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