ibm-watson

How to get the authentication token for IBM watson STT service?

丶灬走出姿态 提交于 2019-12-19 04:35:40
问题 I am trying to use the Watson Speech To Text service which needs the following command for the websocket Interface as per the documentation var token = {authentication-token}; var wsURI = 'wss://stream.watsonplatform.net/speech-to-text/api/v1/recognize' + '?watson-token=' + token + '&model=es-ES_BroadbandModel'; I have tried this to get the {authentication-token} using curl command on terminal curl -X GET --user "apikey:{apikey}" "https://stream.watsonplatform.net/authorization/api/v1/token

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

How do I add an action to watson conversation response?

帅比萌擦擦* 提交于 2019-12-17 07:55:32
问题 I've created intent, entity and dialog without a problem. But right now I'm trying to make it so when the user send "goodbye", the application would close. According to the doc, I'll have to name an action that goes along with an intent. How do I do that? Is it through code or through the conversation workspace platform? 回答1: You can use context variables or action variables for that. How to use context variables? Add in your Advance response the "context" and the values, check my example. I

How do I add an action to watson conversation response?

非 Y 不嫁゛ 提交于 2019-12-17 07:55:12
问题 I've created intent, entity and dialog without a problem. But right now I'm trying to make it so when the user send "goodbye", the application would close. According to the doc, I'll have to name an action that goes along with an intent. How do I do that? Is it through code or through the conversation workspace platform? 回答1: You can use context variables or action variables for that. How to use context variables? Add in your Advance response the "context" and the values, check my example. I

How to disable okhttp3.internal.platform.Platform log from printing on my console while executing the watson assistant's functionalities using java?

天大地大妈咪最大 提交于 2019-12-14 02:12:25
问题 I want only the output not that logs printing on my console. 来源: https://stackoverflow.com/questions/51894551/how-to-disable-okhttp3-internal-platform-platform-log-from-printing-on-my-consol

Has anyone heard about a replacement for the Concept Expansion service? [closed]

谁说胖子不能爱 提交于 2019-12-14 00:58:05
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I have been learning about the IBM Watson services and Bluemix over the last few months. I had previously looked at the Concept Expansion service but when I returned to the page where this service is described, I found the message from IBM that this service was being withdrawn: Has anyone seen or heard of an

Can Watson Visual Recognition determine density?

我的未来我决定 提交于 2019-12-13 20:19:17
问题 Bouquets of flowers are a fairly accurate analogy for our problem domain. For an example, let's assume a test image of thirty flowers: - Roses: 10 - Poppies: 9 - Daisies: 5 - Lillies: 5 - Sunflowers: 1 Is there a training approach that might get Watson to look at pictures of bouquets and be able to reply with a density of a given flower type, or even a ratio or something? If there are any ideas, should we train with images of single/isolated or multiple/grouped of each type of flower? ...or a

Watson speech to text live stream C# code example

烂漫一生 提交于 2019-12-13 17:15:50
问题 I'm trying to build an app in C# that will take an audio stream (from a file for now, but later it will be a web stream) and return transcriptions from Watson in real time as they become available, similar to the demo at https://speech-to-text-demo.mybluemix.net/ Does anyone know where I can find some sample code, preferably in C#, that could help me get started? I tried this, based on the limited documentation at https://github.com/watson-developer-cloud/dotnet-standard-sdk/tree/development

Watson visual recognition run error

こ雲淡風輕ζ 提交于 2019-12-13 16:15:20
问题 I'm trying to set up a visual recognition app using the Watson visual recognition api. To do this I started by downloading watson-developer-cloud and I put it in my node_modules folder, which is next to my index.html and api_request.js. This is my api_request.js file: var watson = require('./node_modules/watson-developer-cloud'); var visual_recognition = watson.visual_recognition({ username: '*********', password: '*********', version: 'v2-beta', version_date: '2015-12-02' }); visual

How to print the answer returned by IBM Watson Assistant?

℡╲_俬逩灬. 提交于 2019-12-13 08:58:53
问题 I have a Python Flask app that tries to use IBM Watson Assistant. Below is a code snippet that invokes the message API function. How do I print the returned answer? import json, _watson, requests, jsonify import watson_developer_cloud from flask import Flask, render_template from flask_socketio import SocketIO, send @app.route('/') def index(): return render_template('index.html') @socketio.on('message') def handleMessage(msg): print("Message: "+msg) msg = _watson.conversacion(msg) send(msg,