简体   繁体   English

IBM Watson Assistant:如何从选定的对话框选项中检索输入值?

[英]IBM Watson Assistant: How to retrieve input value from chosen dialog option?

I already followed these great instructions on how to dynamically create dialog node options from generic input and it's working like charm.我已经按照这些关于如何从通用输入动态创建对话节点选项的重要说明进行了操作,并且它的工作原理非常棒 But for now I cannot see how to hand over the chosen option value to the next node to process further.但是现在我看不到如何将选择的选项值移交给下一个节点以进一步处理。 Is there any documentation how to pass the chosen option value to the child node?是否有任何文档如何将所选选项值传递给子节点?

You can store any selected option and other information in context variables .您可以将任何选定的选项和其他信息存储在上下文变量中 They are passed around and can be accessed in other nodes.它们被传递并且可以在其他节点中访问。 The information is available until you unset or delete the context variable.在您取消设置或删除上下文变量之前,该信息一直可用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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