ModerRAS commited on
Commit
94dfb39
·
1 Parent(s): 836bd54

Tighten LM Studio title-boundary prompt

Browse files
tools/rust_dmhy_template_apply/src/main.rs CHANGED
@@ -1338,10 +1338,11 @@ fn title_boundary_review_prompt(recipe: &Value, decision: &Value) -> String {
1338
  let payload = json!({
1339
  "task": "Independently classify whether two adjacent TITLE slots in an anime filename template should be one logical title span or kept separate.",
1340
  "rules": [
1341
- "Choose merge only when the two slots are contiguous parts of the same title/subtitle phrase.",
1342
- "Choose keep when slots are duplicate titles, path/leaf repeats, multilingual aliases, category tags plus title, or distinct title candidates.",
1343
- "Choose skip when examples/top literals are mixed or insufficient.",
1344
- "Do not infer from any heuristic decision; use examples and position literals."
 
1345
  ],
1346
  "allowed_decisions": {
1347
  "merge": "same title continuation; use one logical title span",
 
1338
  let payload = json!({
1339
  "task": "Independently classify whether two adjacent TITLE slots in an anime filename template should be one logical title span or kept separate.",
1340
  "rules": [
1341
+ "Choose merge only when concrete examples or left/right top literals show the two slots are contiguous words of the same title/subtitle phrase.",
1342
+ "Do not choose merge merely because the slots are adjacent or separated only by SEP/O; adjacency alone is not evidence.",
1343
+ "Choose keep when slots are duplicate titles, path/leaf repeats, multilingual aliases, category tags plus title, release group plus title, or distinct title candidates.",
1344
+ "Choose skip when examples/top literals are mixed, insufficient, contradictory, or you cannot cite a concrete left/right title-word pairing.",
1345
+ "Use literal_similarity only as a clue, not as the answer. Do not infer from any heuristic decision."
1346
  ],
1347
  "allowed_decisions": {
1348
  "merge": "same title continuation; use one logical title span",