Files
attachment_classifier/prompts.py
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

16 KiB