config-template.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "channel_type": "wx",
  3. "model": "",
  4. "open_ai_api_key": "YOUR API KEY",
  5. "text_to_image": "dall-e-2",
  6. "voice_to_text": "openai",
  7. "text_to_voice": "openai",
  8. "proxy": "",
  9. "hot_reload": false,
  10. "single_chat_prefix": [
  11. "bot",
  12. "@bot"
  13. ],
  14. "single_chat_reply_prefix": "[bot] ",
  15. "group_chat_prefix": [
  16. "@bot"
  17. ],
  18. "group_name_white_list": [
  19. "ChatGPT测试群",
  20. "ChatGPT测试群2"
  21. ],
  22. "group_chat_in_one_session": [
  23. "ChatGPT测试群"
  24. ],
  25. "image_create_prefix": [
  26. "画"
  27. ],
  28. "speech_recognition": true,
  29. "group_speech_recognition": false,
  30. "voice_reply_voice": false,
  31. "conversation_max_tokens": 2500,
  32. "expires_in_seconds": 3600,
  33. "character_desc": "你是ChatGPT, 一个由OpenAI训练的大型语言模型, 你旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。",
  34. "temperature": 0.7,
  35. "top_p": 1,
  36. "subscribe_msg": "感谢您的关注!\n这里是ChatGPT,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。",
  37. "use_linkai": false,
  38. "linkai_api_key": "",
  39. "linkai_app_code": ""
  40. }