I am using IBM Bluemix quickstart in order to display sensor data from Node-red and I am able to see the sensor data coming in real time in Bluemix. However, I would like to save this in Cloudant NoSQL. How can I do this, link the quickstart data to be saved in Cloudant NoSQL DB?
Any help is much appreciated!
Related
I am trying to connect IBM Watson Assistant to IBM Db2.
The use case is the user will input data through a channel and the data will be inserted in Db2.
I am under the impression that Node.Js would be needed and I am confused on how to get Data inputted into Db2 through the Watson Assistant.
Any help would be greatly appreciated. Thanks in advance!
this Assistant Db tutorial shows how to call from Assistant to a cloud function and then into a database.
Although it is querying the database with information from Assistant, the Nodejs code could instead update the database with information from Assistant. You would have to write this update code for your use case.
I recommend the same architecture to work with your database.
I am building an app that allows people to share items with other people in the community. I wanted to use AWS as my platform.
My idea was to use react Native for the app. AWS Cognito for the authentication. AWS lambda for the server calls. Relational database for storing data about the items and user data such as geolocation. Dynamodb for real-time chat, requests for borrowing and transaction data between users. My primary focus is low cost and I was thinking of using PostgresSQL for relational database.
What do you guys think of my database choices. Of course the PostgresSQL database on rds. Is there a flaw in database plan so far? Any help would be greatly appreciated.
I would probably just use DynamoDB for everything in your application. I don't see a real need to storing some of your data in an RDS database here. However if you definitely need a relational database, I would suggest AWS Aurora Serverless so that your entire application would be using serverless AWS services. Also, normal relational database connection pools don't work that well in AWS Lambda, so I would suggest using the new Data API.
I am a bit of a newbie when it comes to databases. Ive created a Nosql db on the IBM bluemix platform and I would like to access it from unity.
I was wondering if the www class would be sufficient to query the database? Would I need to add authentication etc? I can find samples for firebase and Aws with unity easily but I'm flying in the dark a bit with regards to cloudant
has anyone done this before?
The Cloudant database doesn't require any "drivers" or any special libraries to work with Unity. As long as you can make HTTP requests from your application, then Cloudant will be able to act as a data store.
You might want to try the Unity WebRequest object which is a lower-level abstraction than the 'www' library you suggest.
The Cloudant API Reference is here.
I have a mobile app that uses Mobilefirst Cloudant sdk to work on top of Bluemix.
One type of the json document in the Cloudant DB needs to have an image as a field. Can you give me some example in Swift as how to store and read it?
I have a Cloudant local datastore on the device, it is synched with the server. So I shouldnot need to worry about the performance?
Thanks.
Jen
Assuming you are using CDTDatastore, you should use the attachment's API which is designed to hold binary blobs, such as images, see using attachments in the CDTDatastore documentation. You should also read up about attachments and their possible performance implications in the Cloudant Documentation
I am building a application where I am trying to use IBM Watson question & answer API.
Currently I see only corpus for Healthcare and Travel, but I would like to ingest Custom dataset suiting my needs. Can anyone please point me to right direction or exact API which does that or IBM already built explorer which I can use to upload the data files directly.
Thanks for the help
At this time you can not ingest corpus data into IBM Watson. That is coming in the future.