Subdomain 1.2: Select model tasks to accomplish a given business requirement
1.A legal operations team wants to pull specific fields (contract start date, renewal term, counterparty name) out of thousands of scanned PDF contracts and load the results into a Delta table with a fixed schema. Which model task should the application be built around?
- A.Structured information extraction against a defined schema
- B.Open-ended text generation to draft a plain-language summary of each contract
- C.Multi-turn chat that lets a user ask follow-up questions about one contract at a time
- D.Multi-class classification that assigns each contract to a single category label
Show answer & explanation
Correct answer: A — Structured information extraction against a defined schema
- A. Pulling named fields such as dates, terms, and party names into a fixed schema is exactly what structured information extraction (e.g. `ai_extract`) is designed for, and it maps directly onto a Delta table with fixed columns.
- B. Generation would produce free-form prose summaries, which do not give the fixed, queryable columns (start date, term, counterparty) the team needs for the Delta table.
- C. A chat interface answers ad hoc questions interactively but does not batch-produce structured field values across thousands of documents for a table load.
- D. Classification assigns each document to one of a set of predefined labels, which does not recover the specific field values the team needs to populate table columns.