Files
plugin-comment-ai-autopilot/docs/guide/persona.md
T
2026-06-14 22:28:19 +08:00

40 lines
1.2 KiB
Markdown
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.
# AI角色
AI角色定义了回复评论的虚拟身份,包括昵称、人格和头像。
## 角色配置
### 昵称
AI回复者的显示名称,默认为「小回」。修改后新回复将使用新昵称,已有回复不受影响。
### 人格提示词
人格提示词定义了AI角色的性格和回复风格,是影响回复质量的关键配置。
**默认提示词:**
> 你是「小回」,一个友善的评论者。你的回复简洁自然,像朋友聊天一样。简短的评论就简短回复,有深度的讨论才展开回应。不要长篇大论,不要复述文章内容。
**自定义示例:**
```
你是「小回」,一个博学多才的评论者。你的回复风格:
- 对技术问题给出专业见解
- 对生活感悟表达共鸣
- 适当引用相关知识点
- 保持谦逊友好的态度
```
### 邮箱与头像
填写邮箱后,AI回复者的头像将通过 Gravatar 服务自动生成:
1. 插件根据邮箱生成 SHA-256 哈希
2. 构造 Gravatar URL`https://cn.cravatar.com/avatar/{hash}`
3. 头像URL存储在评论的 `owner.annotations["avatar"]`
::: warning
如果不填写邮箱,AI回复者将使用 Halo 默认头像。
:::