ibm-cloud

how to generate certificates for new peers in Organization in Hyperledger Fabric 1.0

你说的曾经没有我的故事 提交于 2019-12-04 09:47:10
问题 I am using Hyperledger Fabric 1.0 fabric-node-sdk tutorial (https ://github.com/hyperledger/fabric-sdk-node/test ). And I have setup the two organization each 1 with peer(peer0 in org1 and peer2 in org2). My requirement is to add one more peer in each organization(peer1 in Org1 and peer3 in Org2). I believe need to create peer1 and peer3 folder inside \tls folder and place some ".pem" files example: "src\github.com\hyperledger\fabric-sdk-node\test\fixtures\tls\peers\peer1" "src\github.com

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

こ雲淡風輕ζ 提交于 2019-12-04 06:31:01
问题 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? 回答1: 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

Can I call the Bluemix message hub service from Python?

依然范特西╮ 提交于 2019-12-04 05:07:01
问题 The kafka-python client supports Kafka 0.9 but doesn't obviously include the new authentication and encryption features so my guess is that it only works with open servers (as in previous releases). In any case, even the Java client needs a special message hub login module to connect (or so it would seem from the example) which suggests that nothing will work unless there is a similar module available for Python. My specific scenario is that I want to use the message hub service from a

Bluemix Watson Conversation API to manage intents, entities

丶灬走出姿态 提交于 2019-12-04 04:37:16
问题 The documented API only allows interaction with the Watson Conversation service once it is configured. Is there any API which will allow the configuration. For example create intents, entities etc... 回答1: Good questions and we agree. We have plans shortly to expose a lower level set of APIs that will address your concerns. Brian 回答2: At this point in time the APIs for what you want to do are not publicly exposed. 回答3: Just to close out this question. The API for Watson Assistant (formerly

Where to get the Alchemyapi API key?

梦想与她 提交于 2019-12-04 03:31:19
问题 I'm doing the, Getting Started with AlchemyAPI Using Ruby , Ruby tutorial. But I cannot seem to find my API key. Source: http://www.alchemyapi.com/developers/getting-started-guide/using-alchemyapi-with-ruby At step 3: 3) Configure the Ruby SDK to use your API Key Now that you have the Ruby SDK code on your computer, you need to do configure it to use your API key. In the alchemyapi_ruby directory, run: ruby alchemyapi.rb YOUR_API_KEY Where YOUR_API_KEY is the 40 character API key you received

How can I improve Watson Speech to Text accuracy?

冷暖自知 提交于 2019-12-03 22:01:09
问题 I understand that Watson Speech To Text is somewhat calibrated for colloquial conversation and for 1 or 2 speakers. I also know that it can deal with FLAC better than WAV and OGG. I would like to know how could I improve the algorithm recognition, acoustically speaking. I mean, does increasing volume help? Maybe using some compression filter? Noise reduction? What kind of pre processing could help for this service? 回答1: the best way to improve the accuracy of the base models (which are very

Making an API call in Python with an API that requires a bearer token

你离开我真会死。 提交于 2019-12-03 02:34:34
问题 Looking for some help with integrating a JSON API call into a Python program. I am looking to integrate the following API into a Python .py program to allow it to be called and the response to be printed. The API guidance states that a bearer token must be generated to allow calls to the API, which I have done successfully. However I am unsure of the syntax to include this token as bearer token authentication in Python API request. I can successfully complete the above request using cURL with

IBM Cloud: How to access the API for billing and usage?

家住魔仙堡 提交于 2019-12-02 23:22:47
问题 How can I retrieve usage and cost data for my IBM Cloud account using a REST API? I found that there are billing related commands and I can export some data as JSON. Is there an API or SDK I can use, ideally Python? Here are some of the IBM Cloud billing commands I use: ibmcloud billing resource-instances-usage --json ibmcloud billing account-usage --json Are there equivalent APIs for that? 回答1: I couldn't find a documented API but used the tracing to see how the above commands are executed.

install.packages(“tm”) -> “dependency 'slam' is not available”

北城余情 提交于 2019-12-02 18:22:36
问题 I'm trying to install the tm package on IBM's Data Science Experience (DSX): install.packages("tm") However, I'm hitting this issue: "dependency 'slam' is not available" This post suggests that R version 3.3.1 will resolve the issue, however the R version on DSX is: R version 3.3.0 (2016-05-03) How can I resolve this issue on IBM DSX? Note that you don't have root access on DSX. I've seen similar questions on stackoverflow, but none are asking how to fix the issue on IBM DSX, e.g. dependency

Read logged in User details from SSO server in Blue mix

混江龙づ霸主 提交于 2019-12-02 18:15:33
问题 I am working on Node.js application with Cloudant database. I was able to do IBM IDP authentication with SSO server on Blue mix via the SSO service. My issue occurs after successful authentication, I am unable to get JSON object that can give me all the user attributes that I need, for example, is the logged in person a manager? if yes then his serial number, name etc Does anyone know how to retrieve the information from IBM SSO service? Kindly let me know as soon as possible. 回答1: You can