Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

如何在 Botgroup.chat 中添加自定义 AI 角色?

2025-09-05 1.9 K

创建个性化 AI 角色需要修改项目配置文件,以下是详细步骤:

  • 定位配置文件:在项目目录的 src/config/roles.json 中添加新条目
  • parameterization::
    • id:唯一标识符(字母数字组合)
    • name:角色显示名称(支持emoji)
    • personality:200字内的性格描述(影响回答风格)
    • model:需与 .env 中配置的 API 密钥对应
  • Visual Customization: By avatar 字段设置头像 URL,建议使用 1:1 比例的 PNG 图片

Advanced Tips:

  • exist custom_prompt 中添加系统级指令(如要求特定语言风格)
  • 相同模型可创建多个差异化角色实例
  • 通过 GitHub Actions 实现配置自动热更新

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish