Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning
titleHidden

This is an experimental recognizer therefore it was hidden in version 1.2.2

Excerpt

This recognizer uses the Google Knowledge API (closed alpha) for FAQ matching. FAQ could be loaded directly from an HTML page via a URL or created manually in Saga and then uploaded to the Google Knowledge service to construct the model.

Note

This is a plugin recognizer

Saga uses a keys.json file from the service account configured to interact with this API to authenticate all GCP REST calls. More information here.

Configuration

  • Parameter
    summaryProject Id from GCP where the service is available
    nameProject Id
    requiredtrue
  • Parameter
    summaryVersion of the Knowledge API to use. I.e. v1alpha
    nameAPI Version
    requiredtrue
  • Parameter
    summaryMinimum threshold of a match to be tagged
    default0.5
    nameMinimum Probability
    typedouble
    requiredtrue
  • Parameter
    nameKnowledge Base Source
    requiredtrue

    • Options
      • HTML URL: Specify a URL to an FAQ page. The service parse the page and train the model on these question/answer pairs.
      • FAQ Editor: Add question/answer pairs to Saga and then upload to the Google Knowledge Service to train the model for matching.

HTML FAQ

When selecting the HTML URL on the Knowledge Base Source parameter, an option to specify a FAQ URL is displayed.

  • Parameter
    summaryURL to an HTML page containing a list of FAQ.
    nameUrl
    requiredtrue

When clicking on , Saga will send the URL to be processed by the Google Knowledge API to produce the model. 

Info

Process takes around 2 minutes to complete.

Replace image with pattern in row 

FAQ Editor

When selecting the FAQ Editor on the Knowledge Base Source parameter, a table to add question/answer pairs is displayed.

Adding a Question/Answer pair

By clicking in Click on the  which  button which will popup the the "Add new Google FAQ FAQ" dialog


  • Parameter
    summaryQuestion to add to the FAQ
    nameWrite question here
    requiredtrue
  • Parameter
    summaryAnswer to the question
    nameWrite answer here
    requiredtrue


Load FAQ for training

Clicking on the  will upload all question/answer pairs for training.

Info

Process takes around 2 minutes to complete.

General Settings

Include Page
Generic Recognizer Config
Generic Recognizer Config