Summary

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.

Description

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

Flow

Retrieve and visualize relevant information flow

  1. The user demands a development, status, or deletion of a collection, or questions a collection through a custom-built web UI.
  2. The demand is sent out to a server application on the cloud.
  3. The application conjures up an API on the Watson Discovery service using the Watson SDK.
  4. The Watson Discovery service processes the results and sends it back to the application. The results are then pictured by the user.

Directions

Find the detailed actions for this pattern in the readme file. The actions will reveal you how to:

  1. Clone the GitHub repository.
  2. Deploy the application.
  3. Examine the outcomes.