Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Implement analyzers for generating structured or markdown outputs for downstream reasoning by using Content Understanding

A worked example

Put in order

In Content Understanding Studio, a developer has connected the required resource and saved an invoice schema containing the custom fields SupplierName and InvoiceTotal. No analyzer has been built from this schema.

The developer must build an analyzer named invoice-review, test its custom fields using the local file invoice-test.pdf, and capture the resulting client-facing JSON for a downstream application. This test file was not used to design the schema.

Which actions should the developer perform, and in what order?

Your order

You didn't answer this one.

Correct order
1Select Build analyzer, enter invoice-review as the name and Invoice review as the description, and submit the build; wait for it to finish.
2Select Jump to analyzer list, open invoice-review, and select its Test tab.
3Upload invoice-test.pdf on the analyzer's Test tab.
4Run analysis on the uploaded invoice and wait for completion.
5Open the Results pane and capture the JSON response from this test.
Why

The saved schema must first become a built analyzer. Its Test tab then lets the developer upload and analyze the separate invoice. Results exposes the JSON that a client application would receive, while the Layout playground does not test this custom field schema.

  • Step 1: Select Build analyzer, enter invoice-review as the name and Invoice review as the description, and submit the build; wait for it to finish. The schema is already saved, but its analyzer does not exist. Building it produces the analyzer that the remaining actions require.
  • Step 2: Select Jump to analyzer list, open invoice-review, and select its Test tab. The completed build makes the analyzer available in the list. Opening its Test tab provides the interface for testing that built analyzer.
  • Step 3: Upload invoice-test.pdf on the analyzer's Test tab. The required test file must be supplied through the opened analyzer testing interface before analysis can run on it.
  • Step 4: Run analysis on the uploaded invoice and wait for completion. Analysis needs the uploaded invoice and produces the test result required by the final action.
  • Step 5: Open the Results pane and capture the JSON response from this test. The completed analysis supplies the JSON response. Capturing it is required by the downstream application's stated need.
  • Not needed: Run the schema-development test on the original sample instead of testing invoice-test.pdf. Schema-development testing can use the original sample, but the scenario requires testing "using the local file invoice-test.pdf". Testing the original sample does not satisfy that requirement.
  • Not needed: Upload invoice-test.pdf to the Content Understanding - Document Layout Analyzer playground and run Layout instead of building the custom analyzer. The scenario requires testing the custom fields SupplierName and InvoiceTotal. The prebuilt Layout analyzer extracts document content and structure rather than the specific custom fields defined in this schema.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free