Proposition Pipeline Controller
REST controller that runs the proposition extraction pipeline over text or uploaded files.
Exposes two endpoints under /api/v1/contexts/{contextId}:
POST /extract— send raw text, get back propositions and entity resolutionsPOST /extract/file— upload a document (PDF, Word, Markdown, HTML, etc.) and get back per-chunk results aggregated into a single summary
Not component-scanned: activate via DiceRestConfiguration. Requires a PropositionPipeline bean to be present. The context id comes exclusively from the path variable; it is never read from the request body.
Constructors
Functions
Extract propositions from a single text chunk.
Extract propositions from an uploaded document.
Answers 400 with the reason a request was refused, so a caller can read which check it broke — a length ceiling names its limit. Declared on this controller alone, so nothing else in a host application changes shape.