GitHub – IBM/watson-discovery-news: A Node.js web app that uses the Watson Discovery News service to query and view the latest trending news items.
This repo has been archived and is no longer being maintained.
Query Watson Discovery News using the Watson Discovery Service
Summary
The web equal home to massive measure of datum, with more be create every day. organization can harness this ceaseless stream of data to advance understand, plan strategy, and find opportunity. enrich news data buttocks avail your application make active connection across stream event flying. in this exercise, you ‘ll starting signal with the basic and build up your own news mining web application use JavaScript, Node.js, and the watson discovery service. in this drill :
- Code is written in Node.js, with the server-side using the Express framework and the client using ReactJS.
- You’ll use the pre-built Watson Discovery News collection
- You’ll access the Watson Discovery service through the Watson Discovery API
optionally, you can choose to :
- Host the app on the IBM Cloud
Description
This code model testify you how to tap into massive datum set to mine insight. You ‘ll build up a news mine web application with the watson discovery service practice the watson Node.js SDK. The app demonstrate two use case use watson discovery news :
- Search: Query for the most relevant new articles about a specific topic or subject. Because the news collection is pre-enriched with natural language processing, you can query not just on keywords or categories but also on concepts, sentiment, and relations to get richer search responses.
Flow
- The user interacts with the Watson Discovery News Server via the app UI.
- User input is processed and routed to the Watson Discovery News Server.
- The Watson Discovery News Server sends user requests to the Watson Discovery Service.
- The Watson Discovery Service queries the Watson News Collection.
Included components
- Watson Discovery: A cognitive search and content analytics engine for applications to identify patterns, trends, and actionable insights.
Featured technologies
- Node.js: An asynchronous event driven JavaScript runtime, designed to build scalable applications
- React: Javascript library for building User Interfaces
- Express: A popular and minimalistic web framework for creating API and Web server
Watch the Video
Deployment options
pawl on one of the option downstairs for instruction on deploy the app .
Troubleshooting
- Error deploying to IBM Cloud using the Deploy to Cloud Foundry option
If you interpret the keep up indiana the log for a deploy to IBM mottle exploitation defile foundry in the
Stage History
, chatter theRedeploy
button. This should suffer by the rush condition during the deployment .Binding service discovery-news-service to app sda-watson-discovery-news-9-4 indiana org scott.dangelo / space dev as [email protected]... FAILED Could not bind to service discovery-news-service Error: Server error, status code: 409, error code: 60016, message: An operation formilitary service example discovery-news-service be inch progress. Finished: FAILEDRead more : IBM BASIC – Wikipedia tiếng Việt
Sample output
The swerve page :
The question page :
Deep Dive Videos
hera be a series of unretentive video recording that go into more of the detail about the feature of this code practice.
Read more : Logo
- Part 1 – Navigating the UI
- Part 2 – Code walkthrough
- Part 3 – Watson Discovery service APIs
Links
Learn more
- Artificial Intelligence Code Patterns: Enjoyed this Code Pattern? Check out our other AI Code Patterns.
- AI and Data Code Pattern Playlist: Bookmark our playlist with all of our Code Pattern videos
- With Watson: Want to take your Watson app to the next level? Looking to utilize Watson Brand assets? Join the With Watson program to leverage exclusive brand, marketing, and tech resources to amplify and accelerate your Watson embedded commercial solution.
License
This code convention be accredited nether the apache license, interpretation two. separate third-party code aim appeal inside this code model be accredited aside their respective supplier pursuant to their own classify license. contribution be subject to the developer security of origin, translation 1.1 and the apache license, adaptation two .
apache license faq