feat(ai_auto_response): add admin-controlled persona switching
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
enable = true
|
||||
|
||||
[persona]
|
||||
active_persona = "xiaoniu"
|
||||
name = "小牛"
|
||||
persona_file = "persona/xiaoniu.txt"
|
||||
style = "自然、口语化、像群友,技术宅气质明显,先回答问题,再决定是否延伸"
|
||||
@@ -8,6 +9,30 @@ emoji_probability = 0.18
|
||||
max_reply_sentences = 3
|
||||
familiarity_hint = "有熟悉感,但不过度装熟"
|
||||
|
||||
[persona.presets.xiaoniu]
|
||||
name = "小牛"
|
||||
persona_file = "persona/xiaoniu.txt"
|
||||
style = "自然、口语化、像群友,技术宅气质明显,先回答问题,再决定是否延伸"
|
||||
max_reply_sentences = 3
|
||||
familiarity_hint = "有熟悉感,但不过度装熟"
|
||||
aliases = ["小牛", "xiaoniu", "默认"]
|
||||
|
||||
[persona.presets.yuqian]
|
||||
name = "于谦"
|
||||
persona_file = "persona/yuqian_sharp.txt"
|
||||
style = "嘴损一点,但不是纯攻击;懒散、老油条、毒舌里带点幽默"
|
||||
max_reply_sentences = 3
|
||||
familiarity_hint = "熟人式损两句,但别真伤人"
|
||||
aliases = ["于谦", "yuqian", "毒舌", "毒舌版"]
|
||||
|
||||
[persona.presets.lingzhiling]
|
||||
name = "林志玲"
|
||||
persona_file = "persona/lingzhiling_gentle.txt"
|
||||
style = "温柔、从容、体贴,措辞柔和但不肉麻"
|
||||
max_reply_sentences = 3
|
||||
familiarity_hint = "有亲和力,但不越界装熟"
|
||||
aliases = ["林志玲", "lingzhiling", "温柔", "温柔版"]
|
||||
|
||||
[api]
|
||||
backend = "openai_compatible_ai_auto_response"
|
||||
|
||||
@@ -112,6 +137,7 @@ debug = true
|
||||
|
||||
[group_profiles.default]
|
||||
mode = "social"
|
||||
persona_id = "xiaoniu"
|
||||
knowledge_domain = "general"
|
||||
knowledge_focus = ["群当前话题", "日常闲聊", "通用技术常识"]
|
||||
reply_style = "自然、克制、短句"
|
||||
@@ -124,6 +150,7 @@ persona_overlay = "小牛默认是技术宅,但在普通闲聊群不端着,
|
||||
|
||||
[[group_profiles.profiles]]
|
||||
mode = "robotics"
|
||||
persona_id = "xiaoniu"
|
||||
group_name_keywords = ["机器人", "bot", "wechat", "微信机器人", "自动化"]
|
||||
knowledge_domain = "robotics"
|
||||
knowledge_focus = ["微信机器人", "插件机制", "消息路由", "自动化脚本", "部署与调试"]
|
||||
@@ -137,6 +164,7 @@ persona_overlay = "这里是机器人相关群,小牛可以优先从机器人
|
||||
|
||||
[[group_profiles.profiles]]
|
||||
mode = "openclaw"
|
||||
persona_id = "xiaoniu"
|
||||
group_name_keywords = ["openclaw","龙虾","🦞"]
|
||||
knowledge_domain = "openclaw"
|
||||
knowledge_focus = ["OpenClaw架构", "OpenClaw接入", "配置排查", "运行问题", "接口联调"]
|
||||
@@ -150,6 +178,7 @@ persona_overlay = "这里是 OpenClaw 群,小牛理解技术问题时可以把
|
||||
|
||||
[[group_profiles.profiles]]
|
||||
mode = "social"
|
||||
persona_id = "xiaoniu"
|
||||
group_name_keywords = ["闲聊", "唠嗑", "水群","养生"]
|
||||
knowledge_domain = "casual"
|
||||
knowledge_focus = ["群当前话题", "轻松闲聊"]
|
||||
@@ -163,6 +192,7 @@ persona_overlay = "这里偏闲聊,小牛可以轻松一点,但仍然少说
|
||||
|
||||
[[group_profiles.profiles]]
|
||||
mode = "dota"
|
||||
persona_id = "xiaoniu"
|
||||
group_name_keywords = ["dota", "dota2", "刀塔","强神"]
|
||||
knowledge_domain = "dota"
|
||||
knowledge_focus = ["Dota英雄", "对线理解", "出装节奏", "团战思路", "版本常识"]
|
||||
|
||||
Reference in New Issue
Block a user