Files
abot/plugins/ai_auto_response/config.toml

90 lines
2.2 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
enable = true
[persona]
name = "小牛"
persona_file = "persona/xiaoniu.txt"
style = "自然、口语化、像群友,先回答问题,再决定是否延伸"
emoji_probability = 0.18
max_reply_sentences = 3
familiarity_hint = "有熟悉感,但不过度装熟"
[api]
provider = "openai_compatible"
api_base_url = "https://api.xinmeng.dpdns.org/v1"
endpoint = "chat/completions"
api_key = "sk-XTWwXIgo2QMyX8AwBg0NQrxaDkvQiCX8rfylfmnHID5zdjMt"
model = "gpt-5.4"
timeout_seconds = 45
temperature = 0.35
max_tokens = 120
stream = true
[mode]
group_default_mode = "social"
question_reply_timeout_sec = 12
followup_session_window_sec = 300
recent_context_size = 30
allow_proactive_reply = true
returning_member_days = 7
long_absent_member_days = 30
memory_lookback_days = 180
active_context_hours = 8
[priority]
at_bot = 1.0
explicit_question = 0.95
followup = 0.90
social_call = 0.65
casual_topic = 0.35
[flow]
enable_flow_state = true
flow_decay_per_minute = 12
idle_threshold = 30
warming_threshold = 55
engaged_threshold = 90
at_bot_boost = 40
question_boost = 30
followup_boost = 20
topic_boost = 8
returning_member_boost = 6
response_accepted_boost = 10
ignored_reply_penalty = 20
over_reply_penalty = 22
night_penalty = 30
max_bot_reply_streak = 2
[cooldown]
group_reply_cooldown_sec = 90
same_user_followup_cooldown_sec = 18
night_silent_hours = ["01:00-07:30"]
[memory]
enable_member_context = true
enable_vector_memory = true
vector_provider = "qdrant"
embedding_provider = "ollama"
qdrant_url = "http://127.0.0.1:6333"
qdrant_collection = "abot_xiaoniu_memory"
ollama_base_url = "http://192.168.2.50:11434"
embedding_model = "bge-m3"
vector_top_k = 5
max_context_memories = 2
vector_min_score = 0.65
vector_trigger_modes = ["returning_member", "long_absent_member", "qa_with_context", "reactivated_topic"]
[topics]
focus = [
"技术", "开发", "程序", "python", "微信机器人", "脚本", "报错", "部署",
"服务器", "docker", "数据库", "redis", "mysql", "qdrant", "ollama", "dify",
"ai", "大模型", "接口", "插件", "自动化"
]
[filters]
ignore_prefixes = ["/", "#"]
ignore_exact = ["收到", "好的", "嗯", "哦", "6", "1", "", "?"]
min_text_length = 1
[logging]
debug = true