watson-conversation

Watson Conversation - Why is the ANYTHING ELSE node not chosen

给你一囗甜甜゛ 提交于 2019-12-11 00:47:30
问题 I build the "anything else" node at the and of my dialog. When entering , just a dummy, weird text like "dsajhfkjhfajfk" then - all the time, it seems like Watson is by default choosing the semi last intend node... instead of going into the anything else node 回答1: It's best to understand that the intents is Watsons view of the world. As it tries to answer a question, it assumes that your question relates to how it sees the world. It doesn't know that dsahfkjshasdk is meaningless, because you

Watson Conversation supports nested Intents?

一世执手 提交于 2019-12-10 16:21:51
问题 Does anyone have a good example of nested Intents especially where #yes and #no are child nodes. The situation i am getting is that the API is returning with Intent value but the output text from "Anything else"! 回答1: There is an undocumented feature that if the confidence is <0.2 then it will automatically jump to the Anything Else node. So to get it to go to the right intent node, you will need to train the intents a bit better. Alternatively for dealing with multiple intents you can access

How to extract current date in watson conversation

一个人想着一个人 提交于 2019-12-10 13:54:48
问题 I need to create a condition, in Watson Conversation dialog model, like this: if "today's date" < 04-15-2017 do something. else do something else. I prefer not asking the user for current date and save it. I tried many ways but they don't work, I also tried to output the date (doesn't work): { "context": { "currdate": "@sys-date:today" }, "output": { "text": { "values": [ "here it is $currdate" ], "selection_policy": "sequential" } } } 回答1: I'm not sure about that, but with all tests I've

Watson Conversation: What is lost when restoring a Workspace from a JSON “dump”-file?

筅森魡賤 提交于 2019-12-08 11:37:53
问题 What is "lost" or what kind of measurable impact has it, when restoring a previously heavily trained Watson Conversation Workspace from its JSON dump-file? As it seems to me on a small example workspace, the bot is running again. Most probably not as good as before. Considering a much larger workspace in the future: Is there a way to quantify and/or measure such lost quality? to "retrain" the bot (restore the original bot quality after restoring a trained workspace from its dump)? And when

IBm Cloud Watson Assistant: How to get the ID of a workspace

我怕爱的太早我们不能终老 提交于 2019-12-08 08:34:48
问题 I made a chatbot using IBM Cloud Watson Assistant and I need to use it in my Android applications. This my my config.xml code : <?xml version="1.0" encoding="utf-8"?> <resources> <!-- Watson Conversation Service Credentials --> <string name="workspace_id">???</string> <string name="conversation_username">2m5tAP3W_ELNzcKlc4B5mRN6R-QXtF1C9zS22XzYXYbA</string> <string name="conversation_password">2m5tAP3W_ELNzcKlc4B5mRN6R-QXtF1C9zS22XzYXYbA</string> <!--Watson Speech-To-Text Service Credentials-

Reminder codings in Watson Conversation Service

蹲街弑〆低调 提交于 2019-12-08 04:05:25
问题 I am making a food expiry date chatbot using watson conversation service. So the main function would be alert when the specific food due date is near, which means I have to save both food and the expected days the food would last. (Milk - 14 days, or egg- 7 days, for instance) And this is the code someone answered for me with the previous questions I asked. function updateMessage(input, data, req, res) { if (data.context.verifiedDate){ searchRequest(data, req, res); } else if (data.output &&

in watson conversation, how to jump to another node from one node in procedure?

故事扮演 提交于 2019-12-08 03:06:22
问题 I am facing one problem, I have created the dialogue in watson conversation workspace, and I know how to jump to another node in the dialogue. My question is how to jump in java procedure. For example, I have 5 nodes in my dialogue, they are sequence, node1->node2->node3->node4->node5, under specific condition(e.g. if input invalid date in node3), I want it to jump to node5 from node3, skipping node4, how to implement it in back end procedure(java)? does anyone have simple demo? thanks you.

Watson Conversation Dialogue, how to save user input using slot

做~自己de王妃 提交于 2019-12-08 02:36:21
问题 In my Watson conversation dialogue am trying to read user input using slot, my requirement is to prompt user for enter an issue description and save it in a variable named issue_description. but in slot, watson check for intent or entity before saving it into a variable. in my case i have put an intent to check with, but it is not saved into variable after the check, i always get true as issue_description. how can i save the issue _description into a variable? what should be the possible

Reminder codings in Watson Conversation Service

孤人 提交于 2019-12-07 09:47:29
I am making a food expiry date chatbot using watson conversation service. So the main function would be alert when the specific food due date is near, which means I have to save both food and the expected days the food would last. (Milk - 14 days, or egg- 7 days, for instance) And this is the code someone answered for me with the previous questions I asked. function updateMessage(input, data, req, res) { if (data.context.verifiedDate){ searchRequest(data, req, res); } else if (data.output && data.output.text) { return res.json(data); } return data; } function searchRequest(data, req, res){ //

How to create a form builder with Watson Conversation Dialog

爷,独闯天下 提交于 2019-12-06 15:42:54
I'm working on a Watson Conversation project. I imported the following Watson project and I'm configuring it with my conversation: https://github.com/watson-developer-cloud/car-dashboard I would like the chatbot to show the user a checkbox with 7 options that the user has to choose. Each click in one option is linked to a part of the dialog. At the moment, I have inserted this text into a dialog node "Select:<br> <select id='select' on select: 'select()'> <option value='01' selected> Product 1 </option> <option value='02'>Product 2</option> </select>" And I have the following situation image