watson-dialog

Watson conversation - context - previous input text

霸气de小男生 提交于 2020-01-17 08:14:27
问题 During a conversation sequence, when an user provides an input for a response coming from the conversation service based on his/her previous question, I am building a new request to the conversation service by passing the previous question as input text and the previous context. The previous context is to let the Conversation service know the conversation id. The previous input text (question) is to let the Conversation service identify and resume from where it was left (the right dialog node

Show images or PDFs files in a response in IBM watson conversation service

北城以北 提交于 2020-01-05 09:01:46
问题 I built a watson conversation service and I connected it to Slack using the provided wizard in Bluemix. This is not connected to an application yet (such as Java, etc), it was built using the bluemix dialog tool. My question is: How can I show images or pdf files as a response? 回答1: Within the dialog tool itself you will not be able to view any other type of media other than text. The output in the test panel will simply show the output from the node. When deployed to an application such as a

Does watson conversation intents and entities support regular expressions?

只谈情不闲聊 提交于 2019-12-31 04:59:45
问题 I'm testing Watson Conversation API with a possible dialog my company wants to create. We are developing with Brazilian Portuguese. Given the portugues is a rich language and sometimes the users can make mistakes, we want to predict these possible errors, mainly with special chars and accents. For sample, the word produção can be written by users like: produção , producao , produçao , producão . Is possible to have a regular expression on the intents and entities to have something like the

unable to extra/list all event log on watson assistant wrokspace

旧巷老猫 提交于 2019-12-24 18:20:19
问题 Please help I was trying to call watson assistant endpoint https://gateway.watsonplatform.net/assistant/api/v1/workspaces/myworkspace/logs?version=2018-09-20 to get all the list of events and filter by date range using this params var param = { workspace_id: '{myworkspace}', page_limit: 100000, filter: 'response_timestamp%3C2018-17-12,response_timestamp%3E2019-01-01'} apparently I got any empty response below. { "logs": [], "pagination": {} } 回答1: Couple of things to check. 1. You have 2018

Watson dialog cURL conversation post request not passing form data

◇◆丶佛笑我妖孽 提交于 2019-12-18 09:36:20
问题 When making a post cURL request as below to try and continue a created conversation watson instead returns a new conversation. curl -u "USERNAME":"PASSWORD" -X POST --form conversation_id=CONVOID --form client_id=CLIENTID --form input="What type of toppings do you have?" "https://gateway.watsonplatform.net/dialog/api/v1/dialogs/DIALOGID/conversation" If i use the below cURL it works fine. curl -u "USERNAME":"PASSWORD" --data "conversation_id=CONVOID&client_id=CLIENTID&input=What type of

Watson Dialog service to Conversation service

混江龙づ霸主 提交于 2019-12-13 16:25:27
问题 We created dialogs with Bluemix Dialog service and now we would like to import them into the new Bluemix Conversation service. The export-import failed. Do you know if an transfert process exists ? Thank you 回答1: Unfortunately the ability to migrate to Conversation from Dialog is not possible, as the two systems are very different. Intents in Conversation are similar to NLC. So if you have an existing NLC service, you can export that and import as a CSV file. Entities in Conversation are not

From Dialog to Conversation: how to do what <folder label=“Global”> do?

人盡茶涼 提交于 2019-12-12 23:03:58
问题 In Watson Dialog, <folder label="Global"> could be used to handle objections. If in middle of some dialog user type an objection, folder Global could answer and after that keep the dialog at the same point. I trying to do the same with Watson Conversation but I'm lost. Apparently it is not possible or not easy. The node everything_else don't solve the problem. It breaks the conversation. Watson Conversation is or not is a evolution of Watson Dialog? It has less features? 回答1: Conversation and

Watson Dialog Dynamic Data variable input/output

旧时模样 提交于 2019-12-11 13:15:05
问题 I'm trying to build a simple dialog that the user will write: "My name is Joe", and I want the Dialog to set a userName variable to "Joe". I found this example, but the response is always empty string. <folder label="Main"> <output> <prompt selectionType="RANDOM"> <item>Hello, What's your name? </item> </prompt> </output> <input id="input_2530402"> <grammar> <item>My name is</item> <item>my name is (DYNAMIC_DATA)={userName}</item> <item>mine is (DYNAMIC_DATA)={userName}</item> <item>(DYNAMIC

Retrieve matched text from input.text.matches and store into context variable in watson conversation

白昼怎懂夜的黑 提交于 2019-12-11 06:05:25
问题 I am dealing with IBM Watson Conversation . I have a text that contains few letters and digits i.e. age is 26 . I have written a regex to match the digits from the text. It is done using .*?[0-9]+.*? . Now, I want those matched digits into context variables . How to place the matched digits into context variable ? When my condition matches with having input.text.matches('.*?[0-9]+.*?') , then I want to place only digits to my context variable . For Ex: { "context": { "digit": { input.text } }

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