ibm-watson

Watson assistant preview link is not working

落花浮王杯 提交于 2019-12-13 03:21:58
问题 The preview link created in IBM Watson Assistant is not working https://assistant-chat-eu-gb.watsonplatform.net/web/public/3d262aef-38e5-476e-87f8-6c0177f1c72a But works perfectly with the Slack. Can anyone help me to sort out this issue? 回答1: Finally, I have able to resolve the issue by simply changing the URL by eu-gb to us-south. Old URL with issue https://assistant-chat-eu-gb.watsonplatform.net/web/public/3d262aef-38e5-476e-87f8-6c0177f1c72a New URL https://assistant-chat-us-south

IBM Watson Assistant: Chatbot Entity Confusion over regular expression

戏子无情 提交于 2019-12-13 03:13:14
问题 I have an entity called " @material_number " in which two values are stored. First value is " material_number1 " with the pattern (\d{3}).(\d{3}) The second value is " material_number2 " with the pattern (\d{3}).(\d{3}).(\d{3}) When the user enters a material number, I store the value with a context variable called " $materialnumber " and I set the value of this variable to " ?@material_number.literal? ". And at the end the bot responds " Oh okay, the material number is $materialnumber. " The

IBM Action not returning anything after GET request

雨燕双飞 提交于 2019-12-13 03:11:03
问题 First of all, I am a beginner in Javascript, so if there are any uncertainities or unclarities in my message, please feel free to correct me. I try to create an action to support my IBM Watson Assistant. Once called, the action should get some info from a http and give some answer back. The "get" action was part of a Webhook, successfully deployed via Heroku as support for Dialogflow. I just changed it a little bit, to make the answer easier. function main(req){ const http = require('http');

Inactive Text-to-Speech service not upgrading or reseting

孤人 提交于 2019-12-13 02:50:54
问题 My Text-to-Speech Lite plan reached its quota limit on 30 December 2018, so I tried to upgrade to a Standard account to continue working, but I keep getting a Bluemix user-info error: Forbidden error message. Even when I go to my account settings to do an account upgrade to Pay-As-You-Go, when I click on Add Credit Card, I get the same error message in the same window (I shouldn't really need to do this, as my credit card is already registered on my account anyway, but I tried and got the

Bluemix: Response of Text-to-speech is not playing audio using below code

好久不见. 提交于 2019-12-13 01:37:16
问题 Can you help met solve this issue, why the response of Text-to-speech is not playing audio using below code? index.jsp $.fn.PlayBtnClicked = function() { var txt=$(this).data("text"); $.ajax({ type: "GET", url: 'demo',async: false, data: { text: txt} , success: function(response) { $(".result").show(); var audio = document.getElementById("myAudio"); audio.src = response; audio.type = "type/ogg"; audio.play(); } }); }; <audio id="myAudio" autoplay preload="auto" autobuffer controls class=

Watson Conversation - Retrieving specific data from nested context

陌路散爱 提交于 2019-12-12 21:24:00
问题 I'd like the interaction to look like this: Bot: Name a country User: Mexico Bot: The population of Mexico is approximately 120M. For now, I've got the populations hard-coded and looks like below: { "context": { "inputcountry": "<?@Country?>", "populations": { "USA": "300M", "Mexico": "100M", "Japan": "127M" } }, "output": { "text": { "append": true, "values": [ "The population of $inputcountry is approximately $populations.$inputcountry" ] } } } What is the syntax to provide the specific

How do I use a Watson Conversation service in Frankfurt using Node-RED or the node-sdk for Watson?

独自空忆成欢 提交于 2019-12-12 19:16:00
问题 I'm able to use the node-red-node-watson library to call an instance of Watson Conversation hosted in the US-South region of IBM Cloud. If I try it in the Germany region, it does not work. In github I spotted the following line ConversationV1.URL = 'https://gateway.watsonplatform.net/conversation/api'; which is the URL for Conversation in US-South. The URL shown in Bluemix VCAP_SERVICES for the Frankfurt instance is different: "https://gateway-fra.watsonplatform.net/conversation/api" I'm not

Formula in Watson Conversation

十年热恋 提交于 2019-12-12 13:06:35
问题 I have been using Watson Conversation for quite some time. But recently I needed to put up formulas in my Watson Response . How do I achieve it? Is there a way to represent formula/equations in my Dialog flow? 回答1: @athif-shaffy's answer is basically correct- I think you should try to include math formula in HTML,and add the HTML to the response.check this like for example to get to a new line I had to use <br> in the response.It didn't show the result in the conversation service try it out

IBM Watson Assistant: How to enable user metrics

♀尐吖头ヾ 提交于 2019-12-12 12:39:57
问题 We want know how many times each user calls IBM Watson Assistant service from client application and its billing details per user. I am trying to enable user metrics for watson assistant service based on this URL(https://console.bluemix.net/docs/services/assistant/logs_oview.html#user_id) and added the headers and metadata in my node.js code. But when I check the Improve tab in conversation its not showing the user details, its showing count 0. I am using LITE plan and below is the code. //

IBM Eclipse Tools for Bluemix

旧街凉风 提交于 2019-12-12 06:28:32
问题 new to ibm bluemix. Steps to be followed to develop a application on eclipse and to depoy using IBM Eclipse Tools for Bluemix and cloud foundry as well. 回答1: You could find all information you may need for your question in the Bluemix Documentation https://console.ng.bluemix.net/docs/ On the following URL you could find a "Step by step" guide using Bluemix tool: https://console.ng.bluemix.net/docs/manageapps/eclipsetools/eclipsetools.html Instead on the following URL you could find a "Step by