AI-assisted quotation analysis that turns supplier documents into structured, comparable, explainable procurement decisions.
Upload supplier quotations in PDF, DOCX, TXT, or XLSX and QuoteSense runs a controlled pipeline:
Ingest → Extract → Validate → Deterministically Score → Compare → Recommend → Review
The system deliberately separates probabilistic LLM extraction/reasoning from deterministic business logic.
- Decision Cockpit: results now open with a procurement-focused overview showing recommended supplier, score, confidence, source coverage, and risk review.
- Scoring breakdown: deterministic criteria and their contributions are presented explicitly rather than hiding the ranking logic behind an LLM response.
- Why-this-supplier-won: strongest scoring factors are surfaced as concise decision reasons.
- Supplier comparison: multi-quotation analysis is presented as a comparison workspace rather than a single oversized chart.
- Quote-by-quote comparison: every uploaded bid remains a separate row, including revisions or multiple offers from the same supplier; totals are compared only when currencies are directly comparable.
- Line-item and scope comparison: matching extracted items show quantities, units, unit prices, line totals and quotations where an item was not listed. Similar-but-not-identical descriptions remain separate for human review.
- Price reconciliation: reported subtotal, tax, shipping, discounts and additional charges are checked against the stated total, with partial-data states kept distinct from confirmed matches.
- Configurable scoring: users can adjust the relative importance of cost, completeness, timeline, terms and risk; the engine normalizes the mix and keeps the final score deterministic.
- Optional market context: category/region references can be requested when the server-side search provider is configured; external snippets are directional context, not a substitute for quote evidence.
- Decision exports: Excel includes supplier comparison, line items, price reconciliation and applied weights; CSV preserves quote identity and commercial terms.
- Risk review: material commercial risks and eligible price anomalies are elevated into the main decision view while detailed evidence remains available.
- Results hierarchy: overview and evidence come before raw/debug output.
- Polished procurement workspace: criteria chips, upload zone, readiness/status strip, sidebar workflow, and theme-aware UI were refined for a professional decision-cockpit experience.
- One-time portfolio session handoff: QuoteSense exchanges a short-lived launch code server-side and keeps the resulting bearer token in Streamlit session state, not in the browser URL.
- Working hosted sidebar: native Streamlit collapse/reopen behavior is repaired for hosted deployments.
- Multi-document quotation ingestion
- PDF / DOCX / TXT / XLSX processing
- LLM-based structured extraction
- Provider-independent LLM architecture
- Pydantic schema validation
- Deterministic multi-criteria scoring
- Completeness validation
- Risk detection
- Price anomaly detection
- Evidence traceability
- Prompt-injection-aware document handling
- FastAPI service
- Streamlit procurement workspace
- Docker Compose deployment
- Automated testing and CI
Supplier Documents
↓
Document Processing
↓
LLM Extraction
↓
Normalization
↓
Pydantic Validation
↓
Deterministic Scoring
↓
Risk / Anomaly Detection
↓
Evidence-Grounded Reasoning
↓
Recommendation
↓
Human Review
LLM → Extract & Reason
Python → Validate & Score
Human → Make the Final Decision
When launched through the portfolio, QuoteSense receives a short-lived, single-use handoff code. It removes portfolio_llm_handoff from the browser URL before exchanging the code server-side. The resulting bearer token stays in Streamlit session state. The old portfolio_llm_session JWT query parameter is rejected.
Portfolio BYOK session
↓
Single-use handoff code
↓
QuoteSense server-side exchange
↓
Shared Portfolio LLM Gateway
↓
Streamlit session token
Configure both variables in the QuoteSense hosting environment:
LLM_GATEWAY_URL=https://<gateway-host>/v1
PORTFOLIO_SESSION_GATEWAY_URL=https://<gateway-host>
LLM_GATEWAY_URL is the OpenAI-compatible inference and session-status base and must end in /v1. PORTFOLIO_SESSION_GATEWAY_URL is the gateway root used for code exchange. Do not point the exchange URL at local LiteLLM. If Streamlit loses its browser session state, launch QuoteSense again from the portfolio to obtain a fresh code.
On successful document analysis, QuoteSense sends a separate evaluation.completed event containing deterministic procurement checks:
- Extraction completeness and quotation validation pass rate.
- Deterministic supplier score coverage.
- Currency/total-cost comparability and comparable line-item rate.
- Price reconciliation coverage, match and review rates.
- Risk finding count and proportion of quotations with risk findings.
- Price anomaly count.
- Whether qualitative analysis and a primary recommendation were produced.
These scores are computed from the same validation, deterministic scoring, comparison and reconciliation outputs used by the procurement workspace. They are not LLM-as-a-judge scores and do not mean a supplier decision has been approved.
The event contains only numeric values and optional experiment lineage. Supplier names, source document names, extracted quotation fields, individual prices, line-item descriptions, risk messages, prompts and generated recommendation text are excluded. The existing run.completed / run.failed activity event remains unchanged.
Optional lineage environment variables are EVALUATION_EXPERIMENT_ID, EVALUATION_DATASET_VERSION, EVALUATION_PROMPT_VERSION and EVALUATION_CONFIG_VERSION. Set them only when the corresponding dataset, prompt or scoring configuration version is known; otherwise leave them blank. Reporting remains best-effort and cannot interrupt document analysis.
Use the repository's Docker Compose or documented API/UI startup path. The project also supports optional local inference through the existing configuration.
Procurement decision intelligence — explainable extraction, deterministic ranking, evidence traceability, and human-reviewed recommendations.
QuoteSense reports a small, content-free event after its existing document-analysis pipeline completes or fails. The event contains only document/quotation counts, risk/anomaly counts, duration and an optional model label. Uploaded documents, extracted quotation fields, supplier names, prompts and model responses are never sent to the evaluation service.
Configure these server-side environment variables on the QuoteSense deployment:
EVALUATION_HARNESS_URL=https://ai-engineering-evaluation-harness.onrender.comEVALUATION_HARNESS_INGEST_TOKEN— the QuoteSense-specific token configured by the harness operator.
Telemetry is best-effort. If the URL or token is missing, or the service is unavailable, QuoteSense continues its normal workflow without blocking the user. The website links to the shared read-only engineering assurance dashboard; this app does not expose a separate harness dashboard or request an additional provider key.