feat: W7 功能標籤分類、對白檢索與注入 (#8)
用 $.model.complete(Haiku)判斷回應的功能標籤,從角色索引取同標籤對白, 以只增不改的訊息附在使用者訊息之前;失敗一律退回不注入。 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
1c4e0c5d98
commit
d9e50d196b
@@ -7,27 +7,47 @@
|
||||
"author": {
|
||||
"name": "JSC"
|
||||
},
|
||||
"keywords": ["anime", "light-novel", "persona", "companion"],
|
||||
"keywords": [
|
||||
"anime",
|
||||
"light-novel",
|
||||
"persona",
|
||||
"companion"
|
||||
],
|
||||
"userConfig": {
|
||||
"defaultCharacter": {
|
||||
"type": "string",
|
||||
"title": "預設角色",
|
||||
"description": "新 session 自動套用的角色;none 表示不自動套用,需用角色 skill 啟動。",
|
||||
"default": "none",
|
||||
"options": ["none", "sao-asuna", "sao-suguha"]
|
||||
"options": [
|
||||
"none",
|
||||
"sao-asuna",
|
||||
"sao-suguha"
|
||||
]
|
||||
},
|
||||
"intensity": {
|
||||
"type": "string",
|
||||
"title": "強度",
|
||||
"description": "0 不套角色;1 只換稱呼與句尾;2 前後各一個對話氣泡;3 再加動作旁白。",
|
||||
"default": "2",
|
||||
"options": ["0", "1", "2", "3"]
|
||||
"options": [
|
||||
"0",
|
||||
"1",
|
||||
"2",
|
||||
"3"
|
||||
]
|
||||
},
|
||||
"address": {
|
||||
"type": "string",
|
||||
"title": "稱呼",
|
||||
"description": "角色怎麼稱呼你。留空則依角色與使用者在原作中的關係(亞絲娜叫「桐人」、直葉叫「哥哥」)。",
|
||||
"default": ""
|
||||
},
|
||||
"showTiming": {
|
||||
"type": "boolean",
|
||||
"title": "顯示分類耗時",
|
||||
"description": "在狀態列顯示每則訊息的功能標籤分類耗時與結果,用來量測延遲。",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user