Full Page Search

Prev Next

This extension searches defined keywords in the full page content and sets a target field value if a match is found.

Installation

Full page search extension is provided and maintained by Rossum.ai in the form of webhook. To start using it, follow these steps:

  1. Login to your Rossum account.

  2. Navigate to ExtensionsMy extensions.

  3. Click on Create extension.

  4. Fill the following fields:

    1. Name: Full page search

    2. Trigger events: Initialize, Started, Updated

    3. Extension type: Webhook

    4. URL (see below)

  5. In "Advanced settings" select Token owner (should have Admin access)

  6. Click Create the webhook.

Configuration examples

{
  "configurations": [
    {
      // See: https://elis.rossum.ai/api/docs/#get-page-spatial-data
      "granularity": "lines",
      "target_field": "is_credit_note",
      "target_value": "Y",

      // Note that the possible values are case-insensitive.
      "possible_values": ["credit invoice", "credit note", "credit nota"]
    },
    {
      "granularity": "words",
      "target_field": "is_kredietbeperking",
      "target_value": "Y",
      "possible_values": ["kredietbeperking"]
    }
  ]
}

Known limitations

Note that the page_numbers parameter cannot be specified. Only the first 20 pages of a document are used. In other words, if the text is on page 21 or higher, it won't be found.

💬  YOUR FEEDBACK MATTERS!

Help us keep this page accurate and useful. Select Yes or No below, then use the feedback form to propose a correction, ask for clarification, or request a new article.