Initial commit

This commit is contained in:
Mimikko-zeus
2026-01-07 00:17:46 +08:00
commit 4b3286f546
49 changed files with 2492 additions and 0 deletions

15
intent/labels.py Normal file
View File

@@ -0,0 +1,15 @@
"""
意图标签定义
"""
# 意图类型常量
CHAT = "chat"
EXECUTION = "execution"
# 执行任务置信度阈值
# 低于此阈值一律判定为 chat宁可少执行不可误执行
EXECUTION_CONFIDENCE_THRESHOLD = 0.6
# 所有有效标签
VALID_LABELS = {CHAT, EXECUTION}