ibm-cloud

How to add a new line in IBM Watson chatbot conversation?

女生的网名这么多〃 提交于 2019-12-02 08:13:17
Currently I'm working with the chatbot service provided by the IBM Watson Coversation api. Now I'm facing a problem, related to adding a new line in the text reply from the chatbot. Can anyone tell me how to do this? in this case, you can use HTML for that, inside conversation flow with <br> . Check my example: You can see that does not work in "Try it out": But if you open with a browser, you see that work: Check JSON example: { "output": { "text": { "values": [ "Hey, <br>Can I help you?", "", "" ], "selection_policy": "random" } } } You can use other tags, example: <button> , <id> , etc. 来源:

hive spark yarn-cluster job fails with: “ClassNotFoundException: org.datanucleus.api.jdo.JDOPersistenceManagerFactory”

点点圈 提交于 2019-12-02 07:21:31
I'm attempting to run a pyspark script on BigInsights on Cloud 4.2 Enterprise that accesses a Hive table. First I create the hive table: [biadmin@bi4c-xxxxx-mastermanager ~]$ hive hive> CREATE TABLE pokes (foo INT, bar STRING); OK Time taken: 2.147 seconds hive> LOAD DATA LOCAL INPATH '/usr/iop/4.2.0.0/hive/doc/examples/files/kv1.txt' OVERWRITE INTO TABLE pokes; Loading data to table default.pokes Table default.pokes stats: [numFiles=1, numRows=0, totalSize=5812, rawDataSize=0] OK Time taken: 0.49 seconds hive> Then I create a simple pyspark script: [biadmin@bi4c-xxxxxx-mastermanager ~]$ cat

IBM BLUEMIX BLOCKCHAIN SDK-DEMO failing

无人久伴 提交于 2019-12-02 07:13:50
问题 I have been working with HFC SDK for Node.js and it used to work, but since last night I am having some problems. When running helloblockchain.js only few times works, most time I get this error when it tries to enroll a new user: E0113 11:56:05.983919636 5288 handshake.c:128] Security handshake failed: {"created":"@1484304965.983872199","description":"Handshake read failed","file":"../src/core/lib/security/transport/handshake.c","file_line":237,"referenced_errors":[{"created":"@1484304965

Spark Hive reporting ClassNotFoundException: com.ibm.biginsights.bigsql.sync.BIEventListener

一曲冷凌霜 提交于 2019-12-02 06:42:13
问题 I'm attempting to run a pyspark script on BigInsights on Cloud 4.2 Enterprise that accesses a Hive table. First I create the hive table: [biadmin@bi4c-xxxxx-mastermanager ~]$ hive hive> CREATE TABLE pokes (foo INT, bar STRING); OK Time taken: 2.147 seconds hive> LOAD DATA LOCAL INPATH '/usr/iop/4.2.0.0/hive/doc/examples/files/kv1.txt' OVERWRITE INTO TABLE pokes; Loading data to table default.pokes Table default.pokes stats: [numFiles=1, numRows=0, totalSize=5812, rawDataSize=0] OK Time taken:

Bluemix remote debugging session not starting

天涯浪子 提交于 2019-12-02 05:34:53
I have followed the Bluemix/Eclipse instructions to setup the Liberty servers in eclipse. Able to do everything with the Bluemix/eclipse tools except for remote debugging. Receiving the following exceptions/errors when I select the "Enable Debug Mode" on my application under the servers. Tried a longer Debug timeout but that has not helped. Any pointers? TIA [2015-11-30 07:16:56.832] bluemixMgmgClient - ???? [pool-1-thread-1] .... ERROR --- ClientProxyImpl: Cannot create the websocket connections for JavaMemcachedApp com.ibm.ws.cloudoe.management.client.exception.ApplicationManagementException

Watson Speech to Text Response Times

风流意气都作罢 提交于 2019-12-02 05:24:34
问题 Having some troubles with the service while pushing to Bluemix The push request I am sending via php-curl is: POST https://stream.watsonplatform.net/speech-to-text/api/v1/recognize with the following parameters model : en-US_NarrowbandModel Content-Type : audio/wav; rate: 8000 Transfer-Encoding: chunked timestamps : true word_confidence : true continuous : true Response timeout is set to 2h (7200000 milliseconds) We are getting timeout from curl for some of our files, without any apparent

Devices being unregistered after push is sent

痞子三分冷 提交于 2019-12-02 04:33:34
问题 This might sound weird, but I can't see any other explanation. I've setup IBM Push Notifications on Bluemix, which I have done before. For some reason on this new app that i've built. Any time I send a push notification, it doesn't come through, I try to do so again and it tells me there are no devices. This only happened to me today, maybe its an issue with the service? Some things i've tried / noticed: My device is being registered and receiving successful messages from the service via the

IBM BLUEMIX BLOCKCHAIN SDK-DEMO failing

牧云@^-^@ 提交于 2019-12-02 03:27:20
I have been working with HFC SDK for Node.js and it used to work, but since last night I am having some problems. When running helloblockchain.js only few times works, most time I get this error when it tries to enroll a new user: E0113 11:56:05.983919636 5288 handshake.c:128] Security handshake failed: {"created":"@1484304965.983872199","description":"Handshake read failed","file":"../src/core/lib/security/transport/handshake.c","file_line":237,"referenced_errors":[{"created":"@1484304965.983866102","description":"FD shutdown","file":"../src/core/lib/iomgr/ev_epoll_linux.c","file_line":948}]}

Bluemix build pipeline set node and npm version

旧巷老猫 提交于 2019-12-02 01:52:01
I want to deploy an angular 2 app on bluemix. The code is located at github and i want to deploy my app when i push something. So i created a pipeline. First the build pipeline: to build the angular app i need angularCLI, so i want to install it. Unfortunately the default node version is 4.2 but the cli needs at least 6.9. Here is my build-shell-command: #!/bin/bash # The default Node.js version is 0.10.40 # To use Node.js 0.12.7, uncomment the following line: #export PATH=/opt/IBM/node-v0.12/bin:$PATH # To use Node.js 4.2.2, uncomment the following line: export PATH=/opt/IBM/node-v6.9/bin:

Watson Speech to Text Response Times

断了今生、忘了曾经 提交于 2019-12-02 01:48:37
Having some troubles with the service while pushing to Bluemix The push request I am sending via php-curl is: POST https://stream.watsonplatform.net/speech-to-text/api/v1/recognize with the following parameters model : en-US_NarrowbandModel Content-Type : audio/wav; rate: 8000 Transfer-Encoding: chunked timestamps : true word_confidence : true continuous : true Response timeout is set to 2h (7200000 milliseconds) We are getting timeout from curl for some of our files, without any apparent reason, at first I thought was related to the duration of the recordings, but I've got in logs with