In this code pattern, develop an application that uses IBM ® Watson ™ Discovery service APIs to create, question, get a status, and erase a file collection of web websites. The application renders the inquiry results on a customized web interface. This provides flexibility for an app designer to design and build the web interface to fit specific information and visualization requirements.
There is a lot of details on the web, and people are always thinking about getting information appropriate to them. 2 common scenarios drive the need for it:
- There is usually a particular item of interest, and you want to get all of the appropriate information about the product
- You have a question and are browsing to discover the responses for it on the internet
This code pattern addresses the previous scenarios where you want to query for pertinent details from a group of web pages. Watson Discovery supplies the capability to crawl through web pages and construct a queryable collection. You use this function to construct an application where you can:
- Specify a list of URLs that Watson Discovery will crawl to build the collection
- Define a query in natural language and get pertinent results with insights from Watson Discovery
- Envision the leading 5 matching files, passages, and entities for the question
When you have completed this code pattern, you understand how to:
- Develop a collection utilizing a web crawl
- Get the status of a collection
- Question the collection utilizing natural language
- Delete a collection
- Parse, check out, and visualize the arise from Watson Discovery
- The user demands a development, status, or deletion of a collection, or questions a collection through a custom-built web UI.
- The demand is sent out to a server application on the cloud.
- The application conjures up an API on the Watson Discovery service using the Watson SDK.
- The Watson Discovery service processes the results and sends it back to the application. The results are then pictured by the user.
Find the detailed actions for this pattern in the readme file. The actions will reveal you how to:
- Clone the GitHub repository.
- Deploy the application.
- Examine the outcomes.