ibm-cloud

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. //

MobileFirst adapter invocation failed with -unsupported media type error

点点圈 提交于 2019-12-12 10:23:24
问题 We have mobilefirst adapter its working properly in swagger tool but when we are trying to invoke from client side its giving error for unsupported media type-errorcode 415.Environment mobilefirst 8.0 with ibm cloud object storage . server side java adapter code below like that, ----------------------------------------- @POST @Path("/uploadImageToObjectStorage") @Consumes(MediaType.APPLICATION_FORM_URLENCODED) @OAuthSecurity(enabled = false) public String uploadImage(@QueryParam(value=

Bluemix Spark with Java

笑着哭i 提交于 2019-12-12 09:52:03
问题 I have a Bluemix trial and I want to use it with a Java application that I have developed using Spark framework using swift storage. This application uses Maven for its build process.I know there is a Spark service in BlueMix. I have several questions: Should I use Jave liberty and then bind Spark and Object storage to it? What is the the proper way to declare spark imports? What is the proper way to authorize against Object storage in my Java program as Softlayer doesn't support keystone?

'require' keyword doesn't work within Node Red Function node

我怕爱的太早我们不能终老 提交于 2019-12-12 08:09:14
问题 first line in a Node red Function Node is var moment = require('moment-timezone'); ... I am trying to establish a timezone correct date/time stamp for sensor data. I get the following error when this node runs; ReferenceError: require is not defined (line 1, col 14) This function, by the way, has other JavaScript which always runs perfectly. My Package.json has no errors and I have the, "moment-timezone":"0.5.3" added. I understand from a bit or research that I need to add something to the

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

Unknown pattern character 'X' Exception occurs connecting to IBM Watson conversation API from Android

℡╲_俬逩灬. 提交于 2019-12-12 06:22:09
问题 I am working with some chat bot application on Android. Everything was working perfect before. But the same application that worked before, now shows an error. "Unknown pattern character 'X' " . Don't know what i did wrong. I tried a lot to find the bug but failed. I am attaching my code here.. package com.example.rove2.conversation; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText

Node-RED getting “login Failed” error in eMail node

不打扰是莪最后的温柔 提交于 2019-12-12 06:18:36
问题 I am using the email node to connect to gmail. I receive "Error - Invalid Login" on the node. In the email node, I've set the following parameters: To: email-i-want-to-email-to@anymail.com Server: smtp.gmail.com Port: 465 (which I believe is an SSL port as per the link below) UserID: gmail-account (or should this be gmail-account@gmail.com - I've tried both) Password: the password on the "gmail-account" Name: email out This conforms to what I found at the following forum, but I am getting

unable to push node.js cloudant app to bluemix

自古美人都是妖i 提交于 2019-12-12 05:45:41
问题 I tried to add cloudant to my app and all of a sudden I can't push it to bluemix anymore. I tracked it down to 1 line which caused the problem: var cloudant = require('cloudant'); prior to this it uploaded with no problems. During the push everything seems fine until it reached the end when it tried to restart the droplet -----> Uploading droplet (20M) 0 of 1 instances running, 1 down 0 of 1 instances running, 1 down 0 of 1 instances running, 1 down 0 of 1 instances running, 1 down 0 of 1

IBM Watson Speech to Text Service is not giving response in Unity3d

蹲街弑〆低调 提交于 2019-12-12 05:39:01
问题 I have an ExampleSstreaming class which actually I got from GitHub of IBM Watson SDK (speech to text service demo). Here it is public class ExampleStreaming : MonoBehaviour { private int m_RecordingRoutine = 0; private string m_MicrophoneID = null; private AudioClip m_Recording = null; private int m_RecordingBufferSize = 5; private int m_RecordingHZ = 22050; private SpeechToText m_SpeechToText = new SpeechToText(); void Start() { LogSystem.InstallDefaultReactors(); Log.Debug("ExampleStreaming

Migrate bluemix app to another organization (another person's account)

一笑奈何 提交于 2019-12-12 05:35:17
问题 Is it possible to migrate a bluemix app from one person's account to another person's account? One of my teammates is leaving the team. We will need to migrate the app from his account to an existing member's one. 回答1: You can rebuild and redeploy the application to a different space, just change the target space and organization that you want to target. Also make sure that you have the needed services deployed in that new org/space. 来源: https://stackoverflow.com/questions/45452249/migrate