watson-assistant

How to do Generic Template of messenger Facebook with IBM Watson Assistant Dialog

我是研究僧i 提交于 2021-02-11 12:48:59
问题 I have a working Assistant from IBM Watson I want to show multiple choices as Image, Description, and Link combinations this feature is available for messenger under Generic Template but I cant find an option at dialog responses that can get me do this image { "output": { "generic": [ { "values": [ { "text": "I got that" } ], "response_type": "text", "selection_policy": "sequential" } ], "facebook": { "message": { "attachment": { "type": "template", "payload": { "template_type": "generic",

IBM Watson Assistant: How to solve web_action error “Internal error: Content-type can not be retrieved.”

99封情书 提交于 2021-02-10 14:26:48
问题 I'm trying to connect IBM Cloud Functions with a Watson Assistant dialog as web_action. So I have specified web_action as following in watson dialog json editor. "actions": [ { "name": "rajesh@heltha.co_dev/default/callKinvey", "type": "web_action", "parameters": { }, "credentials": "$private.mycredential", "result_variable": "context.my_input_returned" } ] Now, the issue is while testing assistant I'm getting following error Internal error: Content-type can not be retrieved. (and there is 1

How to capture the multiple values of one entity in IBM watson assistant after asking slot?

∥☆過路亽.° 提交于 2021-02-10 04:16:18
问题 In my Watson Assistant app, I want to capture the multiple entities in the context and also have a slot to ask a question to user. Here is an example: User: I want to fly from Toronto to Boston And the Watson correctly detects: intent: 'booking', @city:'Toronto', @city:'Boston' Now I have a slot which asks for booking class: Watson(Slot): Which class would you like? User: Economy At this point, the context only have first value for the @city entity i.e. Toronto. I understand from my googling

How to capture the multiple values of one entity in IBM watson assistant after asking slot?

拥有回忆 提交于 2021-02-10 04:14:15
问题 In my Watson Assistant app, I want to capture the multiple entities in the context and also have a slot to ask a question to user. Here is an example: User: I want to fly from Toronto to Boston And the Watson correctly detects: intent: 'booking', @city:'Toronto', @city:'Boston' Now I have a slot which asks for booking class: Watson(Slot): Which class would you like? User: Economy At this point, the context only have first value for the @city entity i.e. Toronto. I understand from my googling

How to avoid slot filling confusion when the same entity is used in more than one slot?

夙愿已清 提交于 2021-01-29 07:09:10
问题 In the slot setting , I need to save date1 & date2 as context variables by two slot, let's me called it slot1 and slot2, and they all check for @sys-date I have found a simple answer at IBM document. However, it's an abstract description, I cannot really understand how to do so. The document said the solution is to " Use slot found conditions that get clarification from the user about which date you are saving in a slot before you save it." I think it is referring to edit this part (the below

I have just started using IBM Cloud. I am trying to get a different output from the IBM Voice depending on my voice input. How can I do this? [closed]

冷暖自知 提交于 2020-05-14 14:23:31
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 days ago . I am trying to design this simple virtual assistant. I am very new to all of this. import json from symbol import parameters from ibm_watson import TextToSpeechV1 from ibm_cloud_sdk_core.authenticators import IAMAuthenticator from ibm_watson import ApiException import speech

I have just started using IBM Cloud. I am trying to get a different output from the IBM Voice depending on my voice input. How can I do this? [closed]

不问归期 提交于 2020-05-14 14:20:00
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 days ago . I am trying to design this simple virtual assistant. I am very new to all of this. import json from symbol import parameters from ibm_watson import TextToSpeechV1 from ibm_cloud_sdk_core.authenticators import IAMAuthenticator from ibm_watson import ApiException import speech

I have just started using IBM Cloud. I am trying to get a different output from the IBM Voice depending on my voice input. How can I do this? [closed]

百般思念 提交于 2020-05-14 14:19:33
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 days ago . I am trying to design this simple virtual assistant. I am very new to all of this. import json from symbol import parameters from ibm_watson import TextToSpeechV1 from ibm_cloud_sdk_core.authenticators import IAMAuthenticator from ibm_watson import ApiException import speech

The old Watson Conversation API (21st Apr 2017 version) seems to have stopped working. Gives me the 401 Unauthorized error

不打扰是莪最后的温柔 提交于 2020-04-30 11:42:26
问题 My application was using the Watson Conversation API (21st Apr 2017 version) imported as a maven dependency: <dependency> <groupId>com.ibm.watson.developer_cloud</groupId> <artifactId>conversation</artifactId> <version>3.9.1</version> </dependency> I've checked the credentials (username and password) for correctness. However, it is still giving me the following error (I've replaced the actual conversation workspace id with the placeholder ACTUAL_WORKSPACE_ID in URLs): Feb 12, 2020 6:14:40 PM

use HTML date picker in IBM watson conversation dialog to get date as input from user

喜欢而已 提交于 2020-04-30 06:47:47
问题 I am trying to use <input type="date" id="birthday" name="birthday"> to display a calendar to be selected by user on IBM dialog. So, when this calendar will ask for date in the chat bot and then after user selecting the date, it should store the selected date as variable or any context variable. How I have to implement it in IBM Watson chatbot. Thanks 回答1: It really depends on how your front-end app is built to call IBM Watson API. Trying to be more generic, you would need to do: First, you