← Selected work

Independent system / 03 / Procurement intelligence

QuoteSense

A quotation-analysis workflow that deliberately separates probabilistic document extraction from deterministic business logic. LLM output is normalized into typed structures before scoring, risk checks, anomaly detection, and comparative reporting.

Independent engineering build · Not a client case study

Illustrative QuoteSense procurement interface showing supplier quotations, comparison fields and a scored recommendation using synthetic data.
Illustrative product visual using synthetic data — not a captured customer deployment or live application screenshot.

The problem

What the system addresses

Procurement documents contain inconsistent structure, missing values, and commercial edge cases that are risky to evaluate with free-form LLM reasoning alone.

The implementation

How it is approached

Extract structured fields, validate with schemas, then apply deterministic calculations and business rules before generating the final interpretation.

Who it is for

Procurement, finance and operations teams reviewing supplier quotations and commercial exceptions.

Turn messy quotations into validated, comparable procurement intelligence with deterministic scoring and review.

Independent engineering build. This reference is not a client case study; no customer deployment, testimonial or business-outcome metric is claimed.

Inspectable implementation evidence

What can be verified in the build.

  • PDF, DOCX, TXT and XLSX ingestion normalised into typed quotation structures.
  • Pydantic validation runs before deterministic completeness, cost and risk calculations.
  • Source snippets, pages and sheets remain available alongside extracted fields for review.

System map

Architecture and workflow

  1. 01Document ingestion
  2. 02LLM extraction
  3. 03Pydantic validation
  4. 04Deterministic calculations
  5. 05Comparison + anomaly analysis
  6. 06Human-readable result

Implementation detail

Engineering decisions and reliability

Document AIPydanticFastAPIProcurement

Design decisions

  • Keep arithmetic deterministic
  • Validate before scoring
  • Preserve raw extraction for auditability
  • Make provider choice independent of business rules

Reliability considerations

  • Typed schemas
  • Deterministic scoring
  • Anomaly detection
  • Validation failures surfaced explicitly

Build notes

From problem to implementation

01 / Situation

Supplier quotations arrive in inconsistent formats, with missing fields and commercial edge cases that make free-form LLM ranking risky.

02 / Task

Create a controlled quotation pipeline that separates probabilistic extraction from deterministic procurement decisions.

03 / Action
  • Normalized PDF, DOCX, TXT, and XLSX content into typed quotation structures.
  • Validated extracted data before calculating completeness, cost scores, comparisons, and anomalies in Python.
  • Kept evidence snippets/pages/sheets alongside extracted fields so recommendations could be reviewed instead of treated as black-box output.
04 / Result
  • Produced explainable quotation comparisons where arithmetic remains deterministic and qualitative reasoning stays grounded in validated data.
  • Shipped the workflow as a Streamlit dashboard with a FastAPI service and deployment-friendly container stack.

Optional technical workbench

Go deeper with the live system.

The homepage contains no-key synthetic walkthroughs. The advanced workbench is optional and requires your own provider API key for live model requests. Hosted demonstrations may take a moment to wake from an idle state. Use synthetic or non-confidential data only; provider usage may incur charges.

TECHNICAL LAB / LIVE MODEL WORKBENCH

Go beyond the sample. Explore a live model workflow.

Use your own provider API key to run live model requests against the selected engineering demonstrations. The interactive module loads only when you open it, keeping the rest of the page lightweight.

Use a test key with a spend limit and synthetic or non-confidential data. Never enter production credentials or sensitive business information. Hosted demonstrations may take a moment to wake after inactivity, and provider usage may incur charges on your account.

01 / Procurement intelligenceQuoteSense

Turn messy quotations into validated, comparable procurement intelligence with deterministic scoring and review.