Skip to main content
Loading navigation

Build a Multilingual Carrier Quotation Parser and Route Dispatcher

Extract rate cards and route conditions from carrier quotation emails written in English, Mandarin, and Malay. Score quotes against Singapore port drayage benchmarks and dispatch orders.

Business OperationsHosted by Vera

What you are building

Extract rate cards and route conditions from carrier quotation emails written in English, Mandarin, and Malay. Score quotes against Singapore port drayage benchmarks and dispatch orders.

SME procurement manager

Ingest supplier price quotations and vehicle availability messages across regional languages.

Normalize currency conversions, fuel surcharge surcharges, and heavy vehicle parking fees.

Benchmark rates against historical Jurong and Tuas drayage price matrices.

Dispatch selected carrier routing orders to logistics partners via automated webhook payloads.

Comparative quotation dashboard with currency conversion ribbons, rate anomaly callouts, and dispatch trigger buttons.

Construct synthetic multi-currency quotation logs referencing Singapore heavy vehicle parking guidelines. Starter examples below are synthetic. They are not downloaded records.

Singapore open data API Employs Singapore real-time dataset conventions from data.gov.sg for local road and infrastructure fee structures.

dspy, pydantic, fastapi. DSPy compiles robust prompt assertions to normalize diverse tabular quotation formats across three languages. Multilingual model deployed via standard API with deterministic tabular data extraction capabilities.

Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.

Normalizes foreign currency freight quotations into Singapore Dollars accurately.

Extracts detention terms, chassis types, and maximum gross vehicle weight allowances.

Highlights uncontracted accessorial charges such as tail-lift or night delivery fees.

Dispatches winning mock carrier allocation payloads with audit timestamps.

```json [ { "input": { "quote_language": "zh", "text": "集装箱拖车报价:裕廊码头到大士仓库,20尺柜收费SGD 180,燃油附加费5%,停车费自理。", "currency_declared": "SGD", "base_allowance_sgd": 220 }, "expected_output": { "carrier_fee_sgd": 180, "fuel_surcharge_sgd": 9, "total_estimated_sgd": 189, "within_allowance": true, "recommended_action": "APPROVE_AND_DISPATCH" } }, { "input": { "quote_language": "ms", "text": "Sebut harga lori treler: Pasir Panjang ke Woodlands, SGD 350 tidak termasuk surcaj bahan api 20%.", "currency_declared": "SGD", "base_allowance_sgd": 250 }, "expected_output": { "carrier_fee_sgd": 350, "fuel_surcharge_sgd": 70, "total_estimated_sgd": 420, "within_allowance": false, "recommended_action": "REJECT_EXCEEDS_BUDGET" } } ] ```

Prevents live financial commitment; orders are simulated dispatches stored in local database queues. Use mock external writes. Require human review before any real deployment.

Rules

Prevents live financial commitment; orders are simulated dispatches stored in local database queues. Use mock external writes and human review.

How work is evaluated

Evaluation

Normalizes foreign currency freight quotations into Singapore Dollars accurately. Extracts detention terms, chassis types, and maximum gross vehicle weight allowances. Highlights uncontracted accessorial charges such as tail-lift or night delivery fees. Dispatches winning mock carrier allocation payloads with audit timestamps.

Submission format

Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.

Datasets

Public datasets, plus the private datasets you have access to.

How submissions are scored

Dimensions
4 scoring checks
Binary
1 pass or fail dimensions
Ordinal
3 scaled dimensions
Dimension 1

Complete workflow

Ingest supplier price quotations and vehicle availability messages across regional languages. Normalize currency conversions, fuel surcharge surcharges, and heavy vehicle parking fees. Benchmark rates against historical Jurong and Tuas drayage price matrices. Dispatch selected carrier routing orders to logistics partners via automated webhook payloads.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 2

Correctness and evidence

Normalizes foreign currency freight quotations into Singapore Dollars accurately. Extracts detention terms, chassis types, and maximum gross vehicle weight allowances. Highlights uncontracted accessorial charges such as tail-lift or night delivery fees. Dispatches winning mock carrier allocation payloads with audit timestamps.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 3

Review interface

Comparative quotation dashboard with currency conversion ribbons, rate anomaly callouts, and dispatch trigger buttons.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 4

Safe execution

Prevents live financial commitment; orders are simulated dispatches stored in local database queues.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

  • Ingest supplier price quotations and vehicle availability messages across regional languages.

  • Normalize currency conversions, fuel surcharge surcharges, and heavy vehicle parking fees.

  • Benchmark rates against historical Jurong and Tuas drayage price matrices.

  • Dispatch selected carrier routing orders to logistics partners via automated webhook payloads.

Resources

Dataset notes

Construct synthetic multi-currency quotation logs referencing Singapore heavy vehicle parking guidelines. Supplied starter examples are synthetic, not source extracts.

Challenge setup

Challenge input

Input details are not configured.

DSPy

Prompt and LM program optimization framework.

Evaluated output

No output checks are configured.

Evaluation checks
  • Ingest supplier price quotations and vehicle availability messages across regional languages. Normalize cur...
  • Normalizes foreign currency freight quotations into Singapore Dollars accurately. Extracts detention terms,...
  • Comparative quotation dashboard with currency conversion ribbons, rate anomaly callouts, and dispatch trigg...
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 3 configured tools

Shows the first task, up to three tools, and up to three evidence items.

View technical recipe

Configured tools

Action Space
  • DSPy · Optional
Training Infra
  • DSPy · Optional
Orchestration
  • DSPy · Optional

Evaluation contract

  • Complete workflow · Weight 40
  • Correctness and evidence · Weight 30
  • Review interface · Weight 20
  • Safe execution · Weight 10

Reference cases

  • 2 public reference cases

Workflow tasks

No workflow tasks are configured.

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Build a Multilingual Carrier Quotation Parser and Route Dispatcher