ibm-watson

How can I link IBM Watson Assistant with Watson Discovery

梦想的初衷 提交于 2021-02-20 02:53:07
问题 I wish to make a chatbot using the two services listed in the title. Watson assistant is used to make the dialog for the chatbot while watson discovery allows for finding information in a large variety of documents such as .html, .pdf files. I want to make a chatbot that uses these two services. The way the chatbot would work is that when a user says something into the chatbot, it will go through watson discovery and run that query which will then return results back to the user. I currently

How to reconstruct a conversation from Watson Speech-to-Text output?

那年仲夏 提交于 2021-02-11 12:53:28
问题 I have the JSON output from Watson's Speech-to-Text service that I have converted into a list and then into a Pandas data-frame. I'm trying to identify how to reconstruct the conversation (with timings) akin to the following: Speaker 0: Said this [00.01 - 00.12] Speaker 1: Said that [00.12 - 00.22] Speaker 0: Said something else [00.22 - 00.56] My data-frame has a row for each word, and columns for the word, its start/end time, and the speaker tag (either 0 or 1). words = [['said', 0.01, 0.06

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

when training data using IBM Bluemix natural language classifier api, return data too small

天涯浪子 提交于 2021-02-10 12:47:57
问题 When I follow "Getting started with the Natural Language Classifier service" guide line, I meet problem at Stage 2: Create and train a classifier: $ curl -i -u "<username>":"<password>" \ -F training_data=@<path_to_file>/weather_data_train.csv \ -F training_metadata="{\"language\":\"en\",\"name\":\"TutorialClassifier\"}" \ "https://gateway.watsonplatform.net/natural-language-classifier/api/v1/classifiers" It returns: { "code" : 400, "error" : "Data too small", "description" : "The number of

What does conda-build not like about this version number?

落花浮王杯 提交于 2021-02-08 11:28:26
问题 Python / Anaconda newbie here. I am trying to work with packages and multiple environments. Right now I'm trying to install the package "ibm_watson" which is available through PyPi. Here's the story so far: conda skeleton pypi ibm_watson This worked, but it generated a meta.yaml which conda-build didn't like. It had a version string ">=2.0," with an extraneous comma. I had to hand edit that out. Where is that error happening? Anyway, I got past that. Here's where I'm stuck now. conda_build

Watson IoT: “Extensions” entry is not available in left menu

不打扰是莪最后的温柔 提交于 2021-02-05 12:23:43
问题 I've been following the Gather, visualize, analyze and detect anomalies in IoT data tutorial and, although I was able to go through it flawlessly, I'm stuck in the second step of the "Create a data connector to store the historical data" section. In my Watson IoT left menu, there is no entry called "Extensions" , my last option is the "Configuration" one. As far as I know, I have re-checked all the steps twice and I have tried to configure different regions (I'm located in Spain) for both

Watson IoT: “Extensions” entry is not available in left menu

假装没事ソ 提交于 2021-02-05 12:23:22
问题 I've been following the Gather, visualize, analyze and detect anomalies in IoT data tutorial and, although I was able to go through it flawlessly, I'm stuck in the second step of the "Create a data connector to store the historical data" section. In my Watson IoT left menu, there is no entry called "Extensions" , my last option is the "Configuration" one. As far as I know, I have re-checked all the steps twice and I have tried to configure different regions (I'm located in Spain) for both

How to save a text to speech audio file client side?

一笑奈何 提交于 2021-01-29 12:39:36
问题 desired behaviour allow user to download text to speech audio file by clicking a button, like this official demo: https://text-to-speech-starter-kit.ng.bluemix.net what i've tried i am using: https://github.com/watson-developer-cloud/node-sdk i can generate an audio file server side but can't figure out how to send that file back to the client for them to save - so i am trying to generate it client side instead. attempt 01: generate audio file server side server.js (works) const fs = require(

How to save a text to speech audio file client side?

别来无恙 提交于 2021-01-29 10:58:13
问题 desired behaviour allow user to download text to speech audio file by clicking a button, like this official demo: https://text-to-speech-starter-kit.ng.bluemix.net what i've tried i am using: https://github.com/watson-developer-cloud/node-sdk i can generate an audio file server side but can't figure out how to send that file back to the client for them to save - so i am trying to generate it client side instead. attempt 01: generate audio file server side server.js (works) const fs = require(