AylaXYZ / FactoryLensResearch Archive

FactoryLens: Open-Source Equipment Operations and Draft Work Order Reference

ManufacturingEquipment operationsReference solutionLangGraphRAGFastAPIHITL

Chinese original · AI organized · Reference solution

In-depth case · Case quick read

Case Overview

Business Problem

Demos easily mix fixed thresholds, template answers, and real model capabilities. Reproduction must state which results come from rules, which come from retrieval and generation, and whether the work order is only a draft.

Publicly disclosed AI solutions

Chinese original · AI organized. The repository describes document RAG, equipment anomaly analysis, and draft work order processes; it uses fictional samples and simulated MES data.

Core Engineering Findings

Engineering Analysis by This Library

Suitable for studying the observability and boundaries of a minimal operations loop, especially the difference between offline demos and real model modes. Having tests in the directory and capabilities written in the README does not mean successful running has been verified or on-site system integration has been completed.

Hashing and template output cannot represent semantic model performance.

Engineering analysis · View basis

Technical Architecture

Public solution summary

The README describes parsing and metadata, vector indexing, LangGraph workflow, and FastAPI; default Hashing retrieval and template generation.

View the complete architecture and reference data flow

Key engineering trade-offs

Engineering Analysis by This Library

Offline availability and model quality are evaluated separately.

Two sets of results and dependency descriptions must be maintained.

In-depth Technical Analysis

Outcomes and Verification Boundaries

Reference solution

There are no production performance indicators; sample sensor values are not measured benefits.

Original text verified · Open-source materials · Deployment not independently verified

Only the README was checked; the code and tests were not run, nor was maintenance activity verified; it has not been deployed in a real factory.

Complete results criteria and applicable boundaries
In-depth Technical Analysis Architecture, Trade-offs, and Transfer Conditions
01

Business Background and Process

Research Analysis

Demos easily mix fixed thresholds, template answers, and real model capabilities. Reproduction must state which results come from rules, which come from retrieval and generation, and whether the work order is only a draft.

Role
Equipment engineers, interface developers, and knowledge maintainers.
Reproduction scope
Check offline and model modes according to the README, using the repository's fictional materials; this library has not yet run the repository and does not claim real MES / SCADA integration.
  1. 1Parse sample materials and retain chunk sources.
  2. 2Simulate sensor trigger rules, retrieve SOPs, and organize suggestions.
  3. 3Create a draft work order, show the basis, and wait for personnel approval.

Engineering Problems and Transferable Lessons

Key Engineering Insight
Engineering ProjectionNot yet executedinsight
Special Issues
Demos easily mix fixed thresholds, template answers, and real model capabilities. Reproduction must state which results come from rules, which come from retrieval and generation, and whether the work order is only a draft.
Why Ordinary Architecture Is Not Enough
Hashing and template output cannot represent semantic model performance.
Key technical choices
Offline availability and model quality are evaluated separately.
Costs and trade-offs
Two sets of results and dependency descriptions must be maintained.
Failure conditions
No model service: explicitly degrade to offline; do not disguise it as a model answer.; Interface write timeout: keep the draft and check the request status; success cannot be reported directly.
Transferable experience
Review the version, run entry points, and samples in an isolated environment to confirm the retriever actually used. Scope limitation: check offline and model modes according to the README, using the repository's fictional materials; this library has not yet run the repository and does not claim real MES / SCADA integration.

Public materials support the problem background; technical supplements are engineering inferences by this library. Related original text:

Original disclosureSource verifiedfact:1Original disclosureSource verifiedfact:2
03

Technical Architecture and Data Flow

Original text / solution listed separately

Original architecture summary

The README describes parsing and metadata, vector indexing, LangGraph workflow, and FastAPI; default Hashing retrieval and template generation.

Only the public README was checked; source code implementation was not verified and tests were not executed. The mode comparison, interface acceptance, and evaluation below are proposed work and are not to be regarded as completed.

Suggested Architecture for Reproduction

The following is the research design and does not represent the complete implementation of the enterprise's internal system.

  1. 1
    Mode declaration and indexing

    Record offline / model configurations, parse and retain source metadata.

  2. 2
    Rules and retrieval

    Rules determine limit violations, and retrieval provides the basis; without a basis, no definite root cause is generated.

  3. 3
    Draft and manual confirmation

    Show work order evidence and unexecuted status, and record receipts through the simulated API.

Suggested Data and System Interfaces

Business ObjectJoin key / criteriaSuggested SourcesPurpose in the process
Knowledge chunkchunk_id, file, page number, versionRepository samples / authorized materialsCompare retrieval results with the original text.
Equipment eventasset_id, value, unit, trigger ruleSimulated CSV / JSONCheck the division of labor between rule output and model explanation.
Work order draftrequest_id, evidence, status, approverSimulated interfaceVerify that only drafts are generated and duplicate request behavior.
04

Key design trade-offs

Research Analysis

Can the default offline mode prove model performance?

Suggested choice:Offline availability and model quality are evaluated separately.

Basis for judgment: Hashing and template output cannot represent semantic model performance.

Costs and boundaries: Two sets of results and dependency descriptions must be maintained.

Does the interface name equate to real integration?

Suggested choice:Verify the simulated interface according to the contract, then separately evaluate production integration.

Basis for judgment: Factory interfaces have permission, status, and idempotency constraints.

Costs and boundaries: A prototype cannot be extrapolated as a delivered on-site project.

Engineering Failure Conditions

Exceptions and Degradation

No model service

Explicitly degrade to offline; do not disguise it as a model answer.

Interface write timeout

Keep the draft and check the request status; success cannot be reported directly.

When it is suitable for adoption, and how value is measured

Research Recommendations by This Library
Data and Organizational Prerequisites
Equipment codes, applicable version manuals, faults, and maintenance records can be linked; if telemetry is used, timestamps, collection coverage, and fault labels are required. Suggested key links for this case: knowledge chunks (chunk_id, file, page number, version); equipment events (asset_id, value, unit, trigger rule).
Division of labor among AI, rules and humans
AI handles retrieval, cross-record organization, and suggestion explanation; signal judgment, inventory checks, and work order authorization use recomputable rules and business approval. Trade-off in this case: offline availability and model quality are evaluated separately.
Conditions not recommended for adoption
When material versions are unclear, equipment identities are inconsistent, or maintenance owners are missing, data governance should come first; language models cannot replace safety controls or reliability verification. Scenario boundary: when there is no model service, explicitly degrade to offline; do not disguise it as a model answer.
Investment and Ongoing Costs
The main investment is equipment mapping, knowledge review, alarm quality, and ERP/MES integration; start with read-only suggestions, while execution integration and long-term maintenance require separate estimation. The first-round interface scope is bounded by suggested data objects such as "knowledge chunks"; actual enterprise interfaces and budgets require separate investigation.
Value and evaluation criteria
Compare lookup and diagnosis time, suggestion adoption rate, and false-positive burden; downtime benefits should be normalized by operating hours and production load, and vendor percentages cannot be copied directly. In this case, first check "citation traceability": verify chunks, file page numbers, and answers.
Suggested First Step
Review the version, run entry points, and samples in an isolated environment to confirm the retriever actually used. Scope limitation: check offline and model modes according to the README, using the repository's fictional materials; this library has not yet run the repository and does not claim real MES / SCADA integration.
Research Appendix Complete evidence, metric criteria and research materials
02

Original disclosure and evidence boundaries

Original text verified

Original title: FactoryLens Semantic RAG Agent | Manufacturing Semantic Knowledge and Operations Intelligence Agent

Original summary: Chinese original · AI organized. The repository describes document RAG, equipment anomaly analysis, and draft work order processes; it uses fictional samples and simulated MES data.

The README describes a LangGraph operations workflow, FastAPI interfaces, and RAG with citations; it also retains an offline Hashing retrieval mode.

Original disclosureSource verifiedfact:1Original location: Core functions / system architecture ↗

The demo uses fictional materials and simulated MES / SCADA; maintenance work orders are draft and require engineer review.

Original disclosureSource verifiedfact:2Original location: Demo scenario / why it is designed this way ↗
Metric Definitions

There are no production performance indicators; sample sensor values are not measured benefits.

Disclosure Boundaries

Only the README was checked; the code and tests were not run, nor was maintenance activity verified; it has not been deployed in a real factory.

Delivery process

Reference solution

Official demos, tutorials, or open-source references cannot be equated with customer production delivery.

Reference solution: The method is recorded separately and is not used as evidence of customer project delivery. Not disclosed means the current verification materials do not explain it.

Delivery TeamNot disclosed

Repository maintainers are not equivalent to a real customer project delivery team.

Customer participation and co-creationNot disclosed

The verified materials do not explain the specific arrangements for customer participation in design, review, and joint development.

Project durationNot disclosed

Customer delivery cycle is not disclosed; repository update time is not delivery duration.

Data and System IntegrationSolution Approach

The README demonstrates PDF parsing, metadata and hash persistence, and LangGraph work order drafting; MES/SCADA are simulated with CSV and JSON.

Original location: README · Architecture / Workflow
Iteration and operationsNot disclosed

The verified materials do not explain the division of responsibilities for continuous release, rollback, and operations and maintenance of the project.

Acceptance and effectiveness evaluationSolution Approach

The README provides retrieval hit and keyword coverage checks, and has an offline hash mode; this time it was not run, so it cannot represent real LLM or customer acceptance.

Original location: README · Tests / Offline mode
Handover and Capability TransferSolution Approach

The README provides installation, configuration, and interface instructions; it is source code usage documentation, with no customer project handover.

Original location: README · Quick start / API

Delivery materials verification date: 2026-10-07

Metrics and Measurement Definitions

Retain original criteria

"Source verified" only means the public disclosure can be located; it does not mean business results have undergone independent third-party acceptance. Unknown items remain "not disclosed in the original text."

Original results basis

Original results statement

There are no production performance indicators; sample sensor values are not measured benefits.

Original disclosureSource verifiedmetric:1
Baseline
Not disclosed in the original text
Comparison Period
Not disclosed in the original text
Measurement Scope
Preserve the original wording; undisclosed values were not broken down or inferred.
Limitations
Samples, measurement methods, and complete comparisons are not disclosed; source disclosure is not equivalent to third-party independent acceptance.
Source:Demo scenario / why it is designed this way
Research Verification Materials

Engineering Verification Status

Type, scope, and execution are recorded separately

Verification has no automatic progression; passing limited synthetic samples does not prove the model, the complete system, or customer production acceptance. Public business outcomes are shown only according to the original evidence.

This section is an engineering reference design, and there is no end-to-end execution record in this library yet.

Test Plan · Not yet executed

Verification scope
Check offline and model modes according to the README, using the repository's fictional materials; this library has not yet run the repository and does not claim real MES / SCADA integration.
Input Data
Synthetic, public, or authorized data; specific experimental inputs are still to be prepared.
Expected output
Results note the mode and version; unrun items are not marked as complete.;Do not execute maintenance without approval; duplicate requests have only one draft.
Actual output
Not yet executed, no actual output
Execution Time
Not yet executed; collection time is not used as a substitute
Limitations and failure notes
Phased reproduction and evaluation are planned and cannot be used to prove that an actual system is already running.
05

Phased reproduction path

The complete solution has not yet been executed

Use synthetic, public or authorized data. The following is a follow-up plan; if there is a rule check above, it only proves the samples it explicitly lists and does not mean complete reproduction has been completed.

  1. 1

    Dependency and mode verification

    Review the version, run entry points, and samples in an isolated environment to confirm the retriever actually used.

    Planned deliverables:Run instructions, configuration records, real test output.

    Suggested acceptance conditions:Results note the mode and version; unrun items are not marked as complete.

  2. 2

    Interface and retrieval acceptance

    Add no-answer, wrong-equipment, and duplicate work order requests, and compare offline and model approaches.

    Planned deliverables:Interface report, citation verification, and error samples.

    Suggested acceptance conditions:Do not execute maintenance without approval; duplicate requests have only one draft.

06

Evaluation and Failure Handling

Proposed Solution to Be Verified

The evaluation targets are recommended thresholds and need to be adjusted based on risk and baseline; there are currently no measured results.

MetricsMeasurement MethodSuggested Judgment Conditions
Citations are traceableVerify chunks, file page numbers, and answers.Key conclusions have openable original text.
Mode differencesCompare Hashing / templates with models on the same questions.Report quality and latency separately to avoid mixed reporting.
Draft status and idempotencyCheck the status of duplicate and abnormal requests.Drafts are not falsely reported as executed work orders.

Questions to confirm in the next round

  • In which version can the capabilities listed in the README actually run?
  • Are sample evaluations sufficient to cover differences in real equipment materials?

Verification Records and Items to Be Confirmed

2026-10-09

Lightweight content completeness review: source basis, important values, subjects, stages, components, and prototype/production boundaries.

Sources are searchable; other assertions retain their historical verification dates and do not pretend to be a full review this time.

  • Recheck percentages/orders of magnitude, currency, time windows, enterprises and teams, project stage, technical components, and prototype/production boundaries; no independent acceptance was performed for enterprise internal implementation or business benefits.
  • Key basis for this case: only the README was checked; the code and tests were not run, nor was maintenance activity verified; it has not been deployed in a real factory.
View all assertions · 4 items
Original disclosure · Source verified · web-3e95351eb60bef621254d7f5:fact:1

Complete assertion: The README describes a LangGraph operations workflow, FastAPI interfaces, and RAG with citations; it also retains an offline Hashing retrieval mode.

Verification method
Original materials verification
Last Verified
2026-10-07
Applicable boundaries
Source disclosures have been recorded; this lightweight review is not equivalent to item-by-item re-acceptance. Business benefits are self-reported by the source and have not undergone third-party independent acceptance.
Related cases
FactoryLens: Open-Source Equipment Operations and Draft Work Order Reference
Source location:Core functions / system architecture
Original disclosure · Source verified · web-3e95351eb60bef621254d7f5:fact:2

Complete assertion: The demo uses fictional materials and simulated MES / SCADA; maintenance work orders are draft and require engineer review.

Verification method
Original materials verification
Last Verified
2026-10-07
Applicable boundaries
Source disclosures have been recorded; this lightweight review is not equivalent to item-by-item re-acceptance. Business benefits are self-reported by the source and have not undergone third-party independent acceptance.
Related cases
FactoryLens: Open-Source Equipment Operations and Draft Work Order Reference
Source location:Demo scenario / why it is designed this way
Original disclosure · Source verified · web-3e95351eb60bef621254d7f5:metric:1

Complete assertion: Original results basis: there are no production performance indicators; sample sensor values are not measured benefits. Not disclosed in the original text.

Verification method
Original materials verification
Last Verified
2026-10-07
Applicable boundaries
Samples, measurement methods, and complete comparisons are not disclosed; source disclosure is not equivalent to third-party independent acceptance. Preserve the original wording; undisclosed values were not broken down or inferred.
Related cases
FactoryLens: Open-Source Equipment Operations and Draft Work Order Reference
Source location:Demo scenario / why it is designed this way
Engineering Projection · Not yet executed · web-3e95351eb60bef621254d7f5:insight

Complete assertion: Suitable for studying the observability and boundaries of a minimal operations loop, especially the difference between offline demos and real model modes. Having tests in the directory and capabilities written in the README does not mean successful running has been verified or on-site system integration has been completed.

Verification method
No experimental validation yet
Last Verified
Not yet verified or executed
Applicable boundaries
Engineering inference by this library; derived from public disclosures and existing research, and does not represent a customer's internal solution or an executed experiment.
Related cases
FactoryLens: Open-Source Equipment Operations and Draft Work Order Reference
Source location:Core functions / system architectureSource location:Demo scenario / why it is designed this way

Review record: web-3e95351eb60bef621254d7f5:audit:20261009 · Full-library review records

Original research judgment and attribution

Suitable for studying the observability and boundaries of a minimal operations loop, especially the difference between offline demos and real model modes. Having tests in the directory and capabilities written in the README does not mean successful running has been verified or on-site system integration has been completed.

Research compilation and solution analysis: Zuren Zhao · AI-assisted compilation. Original case delivery belongs to the original enterprises and service providers.