-
Notifications
You must be signed in to change notification settings - Fork 22
Home
Create a review analyzer with Watson Discovery
Create a cognitive online shopper guide with Watson Discovery using the reviews of the product you're looking to buy
Cognitive
We will create a webapp that asks for the link of the product you want and takes the reviews it finds and store them in a database. The app will then upload the reviews to Watson Discovery for you.
By Anthony Amanse and Horea Porutiu
https://github.com/IBM/watson-second-opinion
- link to demo video
In this Code Pattern, we will create a Node.js app that takes the reviews from an online shopping website, Amazon, and feeds them into the Watson Discovery service. The reviews will be stored in a Cloudant or couchdb database. The Watson Discovery service will show the overall sentiments of the reviews. The sample application will do all the reading of reviews for you and will give an overall insight about them. The Code Pattern can be useful to developers that are looking into processing multiple documents with Watson Discovery.
When the reader has completed this Code Pattern, they will understand how to:
- Interact with Watson Discovery using Watson's Node SDK
- Build a User Inerface around the result of Watson Discovery
- Deploy the app in Kubernetes
- Deploy and connect a CouchDB in the same instance of Kubernetes Cluster
- The user deploys the app in Kubernetes. The user interacts with the User Interface of the app.
- The user enters the product ID and the app would start getting the reviews of the Product.
- The app then stores the reviews in a CouchDB database for later use.
- The app starts to upload the reviews in Watson Discovery.
- After Watson Discovery finishes processing the reviews, the app then stores the result (General Sentiment and Top Entities) in the CouchDB. The user will see the result in the UI.
- Watson Discovery: A cognitive search and content analytics engine for applications to identify patterns, trends, and actionable insights.
- Kubernetes Cluster: Create and manage your own cloud infrastructure and use Kubernetes as your container orchestration engine.
- Node.js: An open-source JavaScript run-time environment for executing server-side JavaScript code.
- Databases: Repository for storing and managing collections of data.
- Cloud: Accessing computer and information technology resources through the Internet.
http://developer.ibm.com/code/?p=32974&preview=1&_ppp=7827c7a810