Class ExtractPricesTool

All Implemented Interfaces:
GuardedExecution, Identifiable, Job<PriceMentions>, ModelDependent, ModelDependentTool<DocumentText, PriceMentions>, Tool<DocumentText, PriceMentions>

public class ExtractPricesTool extends AbstractModelDependentTool<DocumentText, PriceMentions>
The reading tier of the pricing demo: a small model reads one document's text and lists every price it states, with what the document says about each (who pays it, whether it is in force, proposed, former or a cost, and the dates attached). One call per document, all documents in parallel. The tool never decides what is current; it reports what the document says, and PriceHistory decides across documents.
Since:
0.1 (2026-09-15)
Author:
Andrey Santrosyan