Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个网站,我有搜索栏来搜索文章。因此,当用户在搜索栏中搜索任何内容时,我想检查 Watson 助手中是否有引导流,如果可用,那么我想在页面底部启用 Watson 助手并显示生成的对话流,如果否,则应禁用 Watson 助手。
您可以始终(在后台)呼叫助手,并根据响应决定是否要显示助手。
助手的整个概念是弄清楚意图。
因此,我总是会将查询传递给 Google 助理,并在响应中提供一些简单的内容来确定您的显示决策。