简体   繁体   English

调试 Watson Assistant Webhook

[英]Debug Watson Assistant webhook

My Watson Assistant dialog has a webhook call to an IBM Cloud Functions action.我的 Watson Assistant 对话框有一个对 IBM Cloud Functions 操作的 Webhook 调用。 After I change the code in the action function and "Try it out" again in Watson Assistant, it doesn't pick up the change.在我更改操作 function 中的代码并在 Watson Assistant 中再次“试用”之后,它不会接受更改。 Is there some cache I need to clear, or something I need to restart each time I make a code change?是否需要清除一些缓存,或者每次更改代码时都需要重新启动一些缓存?

In Watson Assistant in the "Try it out" are links / buttons to clear everything or to manage context variables.在 Watson Assistant 中的“试用”中有用于清除所有内容或管理上下文变量的链接/按钮。 There you can reset the "Try it out" bot.在那里,您可以重置“试用”机器人。

In general, when you assign values to a variable the value is kept until you clear or delete it .通常,当您为变量赋值时,该值会一直保留到您清除或删除它为止 Thus, if you do not set input variables to null to clear them they are reused without asking the user for input again.因此,如果您不将输入变量设置为 null 以清除它们,它们将被重用,而无需再次要求用户输入。

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

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