[英]How do I make my Chatbot to ONLY answer from 6pm to 8am - IBM Watson
I've made a chatbot in IBM Watson with the graphic tools (not coding so far), but there's no option to make it have a schedule.我已经在 IBM Watson 中使用图形工具制作了一个聊天机器人(目前还没有编码),但没有选择让它有一个时间表。 Would you guide me using the basic plan?
您能指导我使用基本计划吗?
Create a top node called input
and under If assistant recognizes
创建一个名为
input
的顶部节点,并在If assistant recognizes
下
now().before('18:00:00')
and now().after('8:00:00')
- Time is in 24 hour formatnow().before('18:00:00')
和now().after('8:00:00')
-时间采用 24 小时格式We are Open only between 6 PM and 8 AM everyday
We are Open only between 6 PM and 8 AM everyday
Skip user input
Skip user input
Add another node called welcome
and under welcome
添加另一个名为
welcome
和welcome
的节点
Welcome, how can I help?
Welcome, how can I help?
Check the Expression language documentation to understand more about the use of now()
查看表达式语言文档以了解有关
now()
使用的更多信息
Once done, click Try it
to see the chatbot to respond only between the times mentioned完成后,单击
Try it
以查看聊天机器人仅在提到的时间之间响应
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.