Commit Graph

3 Commits

Author SHA1 Message Date
Misaka_Company
c83c47a631 feat: add four fine-type classifications and refine rules
- Add four new fine-type classifications: 阻尼器, 弯管, 检验报告, 抱箍
- Split 卡箍抱箍 into separate 卡箍 and 抱箍 entries
- Rename 检验记录过程性 to 检验记录
- Clarify rule: distinguish 阻尼帽/阻尼钉 (internal process) from 阻尼器 (external accessory)
- Add rule: 法兰隔膜 not counted as accessory (ignored in classification)
- Update README.md: DOC 12→13, PART 24→27, total 37→41 fine types
2026-07-28 14:53:03 +08:00
Misaka_Company
8c8d62ff06 feat(prompts): rename 检验记录过程性 -> 检验记录; drop 法兰隔膜 as attachment
Classification-boundary adjustments in prompts.py (the single source the
parser validates against, so parser.py needs no change):

- Rename fine type 检验记录过程性 -> 检验记录 in the 资料类 enumeration.
- 法兰隔膜 no longer counts as an attachment: removed from the 配件类
  enumeration (25 -> 24 fine types) and the prose example list, added an
  explicit rule bullet and 注意 note that it is ignored even when the
  param text mentions it, and fixed the stale comment that referenced it.
- Updated the few-shot example: input still mentions 法兰隔膜 but the
  expected output now lists only 紧固件, actively teaching the model to
  ignore 法兰隔膜.
- README category lists/counts synced (检验记录 rename; 配件类 25 -> 24).

Verified via parser: 检验记录 and 紧固件 validate; 检验记录过程性 and
法兰隔膜 are now rejected as non-enum fine types.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-28 12:27:03 +08:00
Misaka_Company
2110e6f38c feat: add order-attachment LLM classifier
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-24 13:35:28 +08:00