ibm-watson

Open URL in IBM Watson conversation

自古美人都是妖i 提交于 2019-11-27 07:34:14
问题 I am using a Blumix free account to develop a chat-bot using watson conversation. How do I add a clickable URL in the response, or automatically call a URL in browser? I have edited the "advanced response" using the suggestions as described on this page but could not get it work. How can I achieve that? 回答1: I don't know if I understood your question correctly, but.. if you wants add some url inside flows Conversation Service (IBM Watson), try it: 1º: Add the url with tag <a target> and href=

How do I add an action to watson conversation response?

北战南征 提交于 2019-11-27 05:37:09
I've created intent, entity and dialog without a problem. But right now I'm trying to make it so when the user send "goodbye", the application would close. According to the doc, I'll have to name an action that goes along with an intent. How do I do that? Is it through code or through the conversation workspace platform? You can use context variables or action variables for that. How to use context variables? Add in your Advance response the "context" and the values, check my example. I've used the conversation simple for that. In your Watson Developer Cloud - IBM Bluemix - Watson Conversation

How to remove a context variable in Watson Assistant service on IBM Cloud

非 Y 不嫁゛ 提交于 2019-11-27 04:53:06
问题 I am using this, but this only sets it to empty, { "context": { "time": "", "place": "", "things": "", "transport": "" }, "output": {} } I also tried "time": "null" and "time": "$time.remove" 回答1: For those using Watson Assistant on an older API version: The best is to use context.remove() in the output section. I usually have an extra child node for cleanup. { "output": { "text": {}, "deleted": "<? context.remove('eventName') ?> <? context.remove('queryPredicate') ?>" } } Because deleted is

How to make Watson Conversation Api Invoke a web Application Url when User Enters an Input?

我怕爱的太早我们不能终老 提交于 2019-11-26 16:57:34
问题 I have a spring mvc application and I would like to make my user call a bot and the bot based on user input should access a url and based on the response provide an answer.How could I achieve this in Java? 回答1: There is no direct way to do it. However, Watson Conversation does provide a mechanism to handle such requests. You will need to tell the calling Java app that a url needs to be invoked. This is done by using two features: Context.request skip_user_input A request is a special context