机器人回复!人性化!! #8614
darkness-UI
started this conversation in
General
机器人回复!人性化!!
#8614
Replies: 5 comments 9 replies
|
可以通过两种方式实现: 1. 修改人格系统提示词(控制回复内容风格) 在 WebUI 的「人格管理」中,编辑系统提示词(system_prompt),加入类似这样的指令:
这是最直接有效的方法 [1]。社区共识是好的提示词比插件更能提升自然度 [2]。 2. 开启分段回复(自动拆分成多条消息) AstrBot 内置了「分段回复」功能,可以把长回复按标点拆成多条短消息,并加上自然延迟 [3]。在配置中启用: "segmented_reply": {
"enable": true,
"only_llm_result": true,
"interval_method": "log",
"log_base": 2.6,
"words_count_threshold": 150,
"split_mode": "regex",
"regex": ".*?[。?!~…]+|.+$"
}这样机器人会按句号、问号等标点自动分段发送,并且用对数延迟模拟打字时间。 建议组合使用:先通过提示词让 LLM 本身回复简短,再开启分段回复让消息一条条发出来,效果最接近真人聊天。修改后可以用 To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
1 reply
|
请使用discussion讨论这个话题 |
0 replies
|
设置 -> 拓展功能 -> 分段回复 |
1 reply
|
发一下日志
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2026年06月06日 14:56 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [AstrBotDevs/AstrBot] 机器人回复!人性化!! (Discussion #8614) |
没有用啊,人格也改了,配置也打开了
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
6 replies
|
然后使用/reset指令清理一下上下文
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2026年06月06日 15:29 |
| 收件人 | ***@***.***> |
| 抄送至 | ***@***.***>***@***.***> |
| 主题 | Re: [AstrBotDevs/AstrBot] 机器人回复!人性化!! (Discussion #8614) |
我已经调成500字上限了
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
怎么能让机器人回复不要一大段一大段的,像人一样一小句一小句的回复
All reactions