优化 ai_auto_response 拟人化短回复并统一走 Dify 链路
- 移除普通 chat 调用分支,统一通过 Dify 请求生成回复 - 收紧小牛人格描述,强化短句、熟人感和非客服式表达 - 新增提示策略,按场景启用成员记忆/群事实/向量记忆,降低记忆压迫感 - 下调回复长度与上下文压缩配置,使默认回复更接近 10 字级别 - 通过 compileall 验证 ai_auto_response 插件语法可用
This commit is contained in:
@@ -55,30 +55,30 @@ memory_lookback_days = 180
|
||||
active_context_hours = 8
|
||||
|
||||
[reply]
|
||||
social_short_char_limit = 30
|
||||
social_short_total_limit = 30
|
||||
qa_fast_char_limit = 34
|
||||
qa_fast_total_limit = 34
|
||||
social_short_char_limit = 12
|
||||
social_short_total_limit = 12
|
||||
qa_fast_char_limit = 18
|
||||
qa_fast_total_limit = 18
|
||||
qa_with_context_sentence_limit = 2
|
||||
qa_with_context_chunk_limit = 2
|
||||
qa_with_context_char_limit = 32
|
||||
qa_with_context_total_limit = 55
|
||||
default_char_limit = 28
|
||||
default_total_limit = 28
|
||||
qa_with_context_char_limit = 16
|
||||
qa_with_context_total_limit = 28
|
||||
default_char_limit = 12
|
||||
default_total_limit = 12
|
||||
|
||||
[prompt_compact]
|
||||
group_profile_max_chars = 560
|
||||
group_profile_max_lines = 10
|
||||
context_max_chars = 900
|
||||
context_max_lines = 18
|
||||
recent_message_max_lines = 8
|
||||
group_profile_max_chars = 220
|
||||
group_profile_max_lines = 6
|
||||
context_max_chars = 360
|
||||
context_max_lines = 10
|
||||
recent_message_max_lines = 4
|
||||
recent_message_line_max_chars = 60
|
||||
at_member_profile_max_chars = 300
|
||||
at_member_profile_max_lines = 8
|
||||
member_memory_max_chars = 520
|
||||
member_memory_max_lines = 12
|
||||
memory_max_chars = 900
|
||||
memory_max_lines = 18
|
||||
at_member_profile_max_chars = 160
|
||||
at_member_profile_max_lines = 5
|
||||
member_memory_max_chars = 180
|
||||
member_memory_max_lines = 6
|
||||
memory_max_chars = 240
|
||||
memory_max_lines = 8
|
||||
strict_memory_relevance = true
|
||||
|
||||
[image]
|
||||
|
||||
Reference in New Issue
Block a user