feat: companion 新增評估標籤管線與 rules.ts 規則表

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-14 07:52:36 +00:00
co-authored by Claude Sonnet 5.5
parent b47c838fd5
commit 31a45f0103
8 changed files with 206 additions and 24 deletions
+8
View File
@@ -81,3 +81,11 @@
```text
/jsc-mod-companion:ingest chapter1.md 章節編號 1
```
## 評估標籤
使用者每句話會對應到一個評估標籤,再由 `rules.ts` 的規則表換成心情增減量;模型只負責分類,不給數值。
- 正則先判明確的情況(責罵、感謝、完成)。
- 正則沒判出時,採用模型於回覆末尾補的 `<評估:標籤>`;標籤須在 `tags.ts` 的白名單內,缺失或不在白名單就當作沒有標籤。
- 白名單約 20 個,參考 wiki 第 9.4 章;不含戀愛與親密類標籤。