LeeteLeeteAI · IoT
← Back to cases
Smart ManufacturingA lighting factory (≈80 employees) · Zhongshan

Lighting factory scheduling and inventory forecasting: no more overstock or stockouts in peak seasons

+45%
Scheduling efficiency
+30%
Inventory turnover
+15%
On-time delivery
2 wks
Delivery time

Client Profile

Industry
Lighting manufacturing
Scale
≈80 staff · domestic sales
Current
Excel scheduling + experience-based purchasing
Goal
Controllable delivery and reasonable inventory

Pain Points

1

Sharp seasonal swings

Orders flood in during peak season while lines idle in the off-season.

2

Inventory squeezed both ways

Raw materials either tie up capital or cause line stoppages.

3

Delivery promises are guesses

Sales promise deadlines by feel, leading to penalties.

Live Demo

Live demo · Scheduling & inventory
Ready
Input
Next 8 weeks of orders + current raw-material inventory
Consolelogs · stdout
$ 初始化演示管线…

How We Built It

01

Demand forecasting

Models over order history and market rhythm forecast 8-week demand by category.

02

Smart scheduling

Orders, capacity, molds and changeover time feed an optimal scheduling model.

03

Safety-stock advice

Dynamic reorder points per material based on demand volatility and lead time.

Not betting on one AI — combining the right few

For a real business scenario, we don't lock in a single technical path up front. We evaluate candidate paths on the same benchmark, then design a hybrid so each path does what it's best at.

General LLM API

Public-cloud models such as GPT-4o / Qwen / DeepSeek

  • ✓Out-of-the-box, minimal integration cost, cheap to start
  • ✕Limited generalization to vertical domains, unstable field-level accuracy, separate compliance design
Best for cold start and quick validation

Industry fine-tuned model

Domain fine-tuning of open-source models on industry data

  • ✓Grasps industry semantics, much higher accuracy, private deployment
  • ✕Needs labeled data plus ongoing training and upkeep
Best as the primary path for high-frequency traffic

RAG + rule engine

Retrieval-augmented knowledge plus business rule checks

  • ✓Highly targeted, explainable, best latency and cost
  • ✕Requires continuous data-loop investment
Best for fallback and high-certainty scenarios

Fusion, not selection

What we deliver is not a single model but a fused pipeline of primary path + semantic correction + graceful fallback: routine cases are handled by the industry model in seconds; low-confidence fields are re-understood by an LLM; on service anomalies the system degrades to a general API and flags manual review — achieving accuracy, cost, latency and controllability at once.

An explainable, degradable, evolvable AI pipeline

We treat AI engineering as a pipeline, not a black box: every step has clear responsibilities, inputs/outputs and fallbacks. The five-step pipeline plus four-layer architecture below is the technical skeleton.

L1

Ingestion & access layer

Multi-channel access with unified auth, idempotency and masking

Business APIsMobile / mini-programsFile upload / scanningAPI gateway · masking
L2

AI inference layer

Multi-path inference plus a confidence router switching by features

Industry fine-tuned modelMultimodal LLMRAG retrievalConfidence routing
L3

Business orchestration layer

Connecting results to real business flows with rule checks and closure

Business rule checksEntity / master-data matchingAmount / logic closureManual review tickets
L4

Data loop layer

Every online error flows back; models iterate monthly

Sample warehouseOnline labeling & error recallMonthly incremental fine-tuningDrift monitoring & alerts

Tech Stack

FastAPIvLLMLangChainRAGQwenGPT-4oTritonKubernetesPostgreSQLRedisMilvusDocker

Delivery Process

1

Data audit

Organized two years of order and inventory data.

2

Modeling

Trained forecasting and scheduling models and validated accuracy.

3

Build

Built scheduling and inventory dashboards linked to ERP.

4

Pilot

One month of parallel run against the old method.

5

Switch

Full switch to AI scheduling with monthly calibration.

Before vs After

MetricBeforeAfter
Scheduling time6 hrs/week0.5 hr/week
Inventory days68 days47 days
On-time delivery84%96%

“Scheduling went from six hours a week to half an hour, and inventory turned almost a month faster — much less capital pressure.”

— Mr. Liu · Operations Manager · lighting factory

Where It Fits

Manufacturing with strong seasonality
High-mix low-volume scheduling
Smart raw-material replenishment

Related Cases