Give AI the grace of knowing when to listen, and when to whisper.
用户状态变化 / 定时心跳
↓
┌──────────────┐
│ 心跳调度器 │ ← 自适应泊松过程(空闲越久越频繁)
├──────────────┤
│ 双系统调度器 │ ← 快系统(规则) + 慢系统(LLM)
├──────────────┤
│ 价值网络 │ ← V = α·urgency + β·relevance - δ·interruption
├──────────────┤
│ 反骚扰漏斗 │ ← 频率/话题/场景/反馈 四级过滤
├──────────────┤
│ DeepSeek R1 │ ← 内容生成 + 慢系统评估
├──────────────┤
│ 表达层 │ ← 呼吸光效 → 标题 → 完整消息
└──────────────┘
1# 1. 安装依赖
2pip install -r requirements.txt
3
4# 2. 演示模式(无需GPU,使用规则引擎Fallback)
5python examples/r1_integration.py --dry-run
6
7# 3. 完整模式(接入 DeepSeek R1)
8python examples/r1_integration.py \
9 --model ljsysfurry/DeepSeek-R1-Distill-Qwen-7B \
10 --lora ljsysfurry/deepseek-r1-7b-xiaoshan-lora