ibm-watson

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

How to give personalised greeting in Watson Conversation?

不想你离开。 提交于 2019-12-31 00:44:12
问题 While Defining the Dialog in the Watson Conversation I'm not able to greet user with his/her name or I'm not able to detect contact number sent by the user and rephrase it to the user. Is it possible to do it in the Watson Conversation Api or not. 回答1: Do you already have access to this information? You can send these values through as context, and refer to them using $context_variable The same goes for collecting information from a user. You can capture things using regular expressions via

How do I send a PDF to Watson's Document Conversion service without writing it to disk first?

落花浮王杯 提交于 2019-12-25 18:24:06
问题 I am trying to convert this document (http://www.redbooks.ibm.com/redbooks/pdfs/ga195486.pdf) to answer units in Watson's Document Conversion service using the watson-developer-cloud node.js library. In the actual program (not this test program), I am retrieving the document and converting it on-the-fly, without writing it to disk first. I have done this before with other documents, but the latest version of the library (v 1.7.0 ) seems to have changed and it no longer works the way I was

cannot find symbol in alchemy api error

淺唱寂寞╮ 提交于 2019-12-25 17:04:23
问题 I'm getting an error when trying to use the AlchemyLanguage API in Java pom.xml <dependencies> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-servlet_3.0_spec</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>com.ibm.watson.developer_cloud</groupId> <artifactId>java-sdk</artifactId> <version>2.8.0</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.4</version> </dependency>

cannot find symbol in alchemy api error

孤街醉人 提交于 2019-12-25 17:04:04
问题 I'm getting an error when trying to use the AlchemyLanguage API in Java pom.xml <dependencies> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-servlet_3.0_spec</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>com.ibm.watson.developer_cloud</groupId> <artifactId>java-sdk</artifactId> <version>2.8.0</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.4</version> </dependency>

Api Watson : Conversation, internal error

依然范特西╮ 提交于 2019-12-25 06:35:05
问题 I am trying to use the updateWorkspace function of the Conversation API of Watson but I always get this error : {"error":"Internal Error"} My request looks like this : curl -H "Content-Type: application/json" -X POST -u "username":"password" -d "{\"name\":\"Edubot\",\"dialog_nodes\": [{\"dialog_node\":\"bonjour\",\"conditions\":\"#Bonjour\",\"output\": {\"text\":{\"values\":[\"bonjour\"],\"selection_policy\":\"sequential\"}}}, {\"\dialog_node\":\"Aurevoir\",\"conditions\":\"#Aurevoir\",\

how to create a blob in node.js to be used in a websocket?

半世苍凉 提交于 2019-12-25 06:05:59
问题 I'm trying to use IBM's websocket implementation of their speech-to-text service. Currently I'm unable to figure out how to send a .wav file over the connection. I know I need to transform it into a blob, but I'm not sure how to do it. Right now I'm getting errors of: You must pass a Node Buffer object to WebSocketConnec -or- Could not read a WAV header from a stream of 0 bytes ...depending on what I try to pass to the service. It should be noted that I am correctly sending the start message

how to create a blob in node.js to be used in a websocket?

你。 提交于 2019-12-25 06:04:05
问题 I'm trying to use IBM's websocket implementation of their speech-to-text service. Currently I'm unable to figure out how to send a .wav file over the connection. I know I need to transform it into a blob, but I'm not sure how to do it. Right now I'm getting errors of: You must pass a Node Buffer object to WebSocketConnec -or- Could not read a WAV header from a stream of 0 bytes ...depending on what I try to pass to the service. It should be noted that I am correctly sending the start message

Watson IoT Platform stuck in “Binding” state connecting to Cloudant

旧时模样 提交于 2019-12-25 03:44:22
问题 I've been trying for a few days now to use Cloudant as my Watson IoT Platform´s Historian service, but still no success. I've finally managed to connect them with help I got here: Can't connect Watson IoT Platform to Cloudant, so I was able to set the bucket interval, and so on. But though I can see them as connected in each "Connections" tab, no databases were created, and I can´t see Cloudant when I'm setting up my board Card. When I get to the Extensions page on WIoTP and click on the gear

bluemix container cannot add user-defined service and Watson service together

那年仲夏 提交于 2019-12-25 01:17:57
问题 I have created a user-defined service (Compose Mongo DB) and Watson Dialog Service. I want to bind both services to my app deployed in IBM Container, however, I am not able to do. I tried these, but none works: I tried using BIND_TO , but I can only bind 1 service (e.g. Use comma separated using UI - BIND_TO : MongoBridge, WatsonBridge ) When I create bridge CF with 2 services bind, it doesn't work either (e.g. Using UI - BIND_TO : MongoWatsonBridge where MongoWatsonBridge has user-defined