additionalProperties:
  formFields:
    - default: ""
      edit: true
      envKey: OPEN_AI_API_KEY
      labelEn: OpenAI API Key
      labelZh: OpenAI API 密钥
      required: false
      type: text
    - default: "https://api.openai.com/v1"
      edit: true
      envKey: OPEN_AI_API_BASE
      labelEn: OpenAI API Base
      labelZh: OpenAI API 基础地址
      required: false
      type: text
    - default: "gpt-3.5-turbo"
      edit: true
      envKey: MODEL
      labelEn: Model
      labelZh: 模型
      required: false
      type: text
    - default: "false"
      edit: true
      envKey: USE_AZURE_CHATGPT
      labelEn: Use Azure ChatGPT
      labelZh: 使用 Azure ChatGPT
      required: false
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: ""
      edit: true
      envKey: AZURE_DEPLOYMENT_ID
      labelEn: Azure Deployment ID
      labelZh: Azure 部署 ID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: AZURE_API_VERSION
      labelEn: Azure API Version
      labelZh: Azure API 版本
      required: false
      type: text
    - default: ""
      edit: true
      envKey: PROXY
      labelEn: Proxy
      labelZh: 代理
      required: false
      type: text
    - default: '["bot", "@bot"]'
      edit: true
      envKey: SINGLE_CHAT_PREFIX
      labelEn: Single Chat Prefix
      labelZh: 私聊前缀
      required: true
      type: text
    - default: "[bot] "
      edit: true
      envKey: SINGLE_CHAT_REPLY_PREFIX
      labelEn: Single Chat Reply Prefix
      labelZh: 私聊回复前缀
      required: false
      type: text
    - default: ""
      edit: true
      envKey: SINGLE_CHAT_REPLY_SUFFIX
      labelEn: Single Chat Reply Suffix
      labelZh: 私聊回复后缀
      required: false
      type: text
    - default: '["@bot"]'
      edit: true
      envKey: GROUP_CHAT_PREFIX
      labelEn: Group Chat Prefix
      labelZh: 群聊前缀
      required: false
      type: text
    - default: ""
      edit: true
      envKey: GROUP_CHAT_REPLY_PREFIX
      labelEn: Group Chat Reply Prefix
      labelZh: 群聊回复前缀
      required: false
      type: text
    - default: ""
      edit: true
      envKey: GROUP_CHAT_REPLY_SUFFIX
      labelEn: Group Chat Reply Suffix
      labelZh: 群聊回复后缀
      required: false
      type: text
    - default: '[]'
      edit: true
      envKey: GROUP_CHAT_KEYWORD
      labelEn: Keywords for triggering replies in group chats
      labelZh: 群聊触发回复的关键词
      required: false
      type: text
    - default: "false"
      edit: true
      envKey: GROUP_AT_OFF
      labelEn: Group At Off
      labelZh: 关闭群聊@bot触发
      required: false
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: '["ChatGPT测试群", "ChatGPT测试群2"]'
      edit: true
      envKey: GROUP_NAME_WHITE_LIST
      labelEn: Group Name White List
      labelZh: 群名称白名单
      required: false
      type: text
    - default: '[]'
      edit: true
      envKey: GROUP_NAME_KEYWORD_WHITE_LIST
      labelEn: Group Name Keyword White List
      labelZh: 群名称关键词白名单
      required: false
      type: text
    - default: '["ChatGPT测试群"]'
      edit: true
      envKey: GROUP_CHAT_IN_ONE_SESSION
      labelEn: Group names that support session context sharing
      labelZh: 支持会话上下文共享的群名称
      required: false
      type: text
    - default: '[]'
      edit: true
      envKey: NICK_NAME_BLACK_LIST
      labelEn: Nickname Blacklist
      labelZh: 昵称黑名单
      required: false
      type: text
    - default: ""
      edit: true
      envKey: GROUP_WELCOME_MSG
      labelEn: Group Welcome Message
      labelZh: 群欢迎信息
      required: false
      type: text
    - default: "false"
      edit: true
      envKey: TRIGGER_BY_SELF
      labelEn: Trigger by Self
      labelZh: 是否允许机器人触发
      required: false
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: "dall-e-2"
      edit: true
      envKey: TEXT_TO_IMAGE
      labelEn: Text to Image Model
      labelZh: 图片生成模型
      required: false
      type: select
      values:
        - label: "dall-e-2"
          value: "dall-e-2"
        - label: "dall-e-3"
          value: "dall-e-3"
    - default: "vivid"
      edit: true
      envKey: DALLE3_IMAGE_STYLE
      labelEn: Dall-E 3 Image Style
      labelZh: Dall-E 3 图片风格
      required: false
      type: select
      values:
        - label: "Vivid"
          value: "vivid"
        - label: "Natural"
          value: "natural"
    - default: "hd"
      edit: true
      envKey: DALLE3_IMAGE_QUALITY
      labelEn: Dall-E 3 Image Quality
      labelZh: Dall-E 3 图片质量
      required: false
      type: select
      values:
        - label: "Standard"
          value: "standard"
        - label: "HD"
          value: "hd"
    - default: ""
      edit: true
      envKey: AZURE_OPENAI_DALLE_API_BASE
      labelEn: Azure OpenAI Dall-E API Base
      labelZh: Azure OpenAI Dall-E API 基础地址
      required: false
      type: text
    - default: ""
      edit: true
      envKey: AZURE_OPENAI_DALLE_API_KEY
      labelEn: Azure OpenAI Dall-E API Key
      labelZh: Azure OpenAI Dall-E API 密钥
      required: false
      type: text
    - default: ""
      edit: true
      envKey: AZURE_OPENAI_DALLE_DEPLOYMENT_ID
      labelEn: Azure OpenAI Dall-E Deployment ID
      labelZh: Azure OpenAI Dall-E 部署 ID
      required: false
      type: text
    - default: "true"
      edit: true
      envKey: IMAGE_PROXY
      labelEn: Image Proxy
      labelZh: 图片代理
      required: false
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: '["画", "看", "找"]'
      edit: true
      envKey: IMAGE_CREATE_PREFIX
      labelEn: Prefix when image reply needs to be enabled
      labelZh: 开启图片回复的前缀
      required: false
      type: text
    - default: "1"
      edit: true
      envKey: CONCURRENCY_IN_SESSION
      labelEn: Concurrency in Session
      labelZh: 会话并发数
      required: false
      type: number
    - default: "256x256"
      edit: true
      envKey: IMAGE_CREATE_SIZE
      labelEn: Image Create Size
      labelZh: 图片生成大小
      required: false
      type: select
      values:
        - label: "256x256"
          value: "256x256"
        - label: "512x512"
          value: "512x512"
        - label: "1024x1024"
          value: "1024x1024"
    - default: "false"
      edit: true
      envKey: GROUP_CHAT_EXIT_GROUP
      labelEn: Group Chat Exit Group
      labelZh: 退出群聊
      required: false
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: "3600"
      edit: true
      envKey: EXPIRES_IN_SECONDS
      labelEn: Expires in Seconds
      labelZh: 会话过期时间
      required: false
      type: number
    - default: "你是ChatGPT, 一个由OpenAI训练的大型语言模型, 你旨在回答并解决人们的任何问题，并且可以使用多种语言与人交流。"
      edit: true
      envKey: CHARACTER_DESC
      labelEn: Character Description
      labelZh: 人格描述
      required: false
      type: text
    - default: "1000"
      edit: true
      envKey: CONVERSATION_MAX_TOKENS
      labelEn: Conversation Max Tokens
      labelZh: 会话最大字符数
      required: false
      type: number
    - default: "20"
      edit: true
      envKey: RATE_LIMIT_CHATGPT
      labelEn: Rate Limit ChatGPT
      labelZh: ChatGPT 调用频率限制
      required: false
      type: number
    - default: "50"
      edit: true
      envKey: RATE_LIMIT_DALLE
      labelEn: Rate Limit DALL-E
      labelZh: DALL-E 调用频率限制
      required: false
      type: number
    - default: "0.9"
      edit: true
      envKey: TEMPERATURE
      labelEn: Temperature
      labelZh: 温度
      required: false
      type: text
    - default: "0.9"
      edit: true
      envKey: TOP_P
      labelEn: Top P
      labelZh: Top P
      required: false
      type: text
    - default: "0.0"
      edit: true
      envKey: FREQUENCY_PENALTY
      labelEn: Frequency Penalty
      labelZh: 频率惩罚
      required: false
      type: text
    - default: "0.0"
      edit: true
      envKey: PRESENCE_PENALTY
      labelEn: Presence Penalty
      labelZh: 存在惩罚
      required: false
      type: text
    - default: "30"
      edit: true
      envKey: REQUEST_TIMEOUT
      labelEn: Request Timeout
      labelZh: 请求超时时间
      required: false
      type: number
    - default: "30"
      edit: true
      envKey: TIMEOUT
      labelEn: Timeout
      labelZh: 超时时间
      required: false
      type: number
    - default: "eb-instant"
      edit: true
      envKey: BAIDU_WENXIN_MODEL
      labelEn: Baidu Wenxin Model
      labelZh: 百度文心模型
      required: false
      type: text
    - default: ""
      edit: true
      envKey: BAIDU_WENXIN_API_KEY
      labelEn: Baidu Wenxin API Key
      labelZh: 百度文心 API 密钥
      required: false
      type: text
    - default: ""
      edit: true
      envKey: BAIDU_WENXIN_SECRET_KEY
      labelEn: Baidu Wenxin Secret Key
      labelZh: 百度文心 Secret 密钥
      required: false
      type: text
    - default: ""
      edit: true
      envKey: XUNFEI_APP_ID
      labelEn: Xunfei App ID
      labelZh: 讯飞 App ID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: XUNFEI_API_KEY
      labelEn: Xunfei API Key
      labelZh: 讯飞 API 密钥
      required: false
      type: text
    - default: ""
      edit: true
      envKey: XUNFEI_API_SECRET
      labelEn: Xunfei API Secret
      labelZh: 讯飞 API Secret
      required: false
      type: text
    - default: ""
      edit: true
      envKey: CLAUDE_API_COOKIE
      labelEn: Claude API Cookie
      labelZh: Claude API Cookie
      required: false
      type: text
    - default: ""
      edit: true
      envKey: CLAUDE_UUID
      labelEn: Claude UUID
      labelZh: Claude UUID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: CLAUDE_API_KEY
      labelEn: Claude API Key
      labelZh: Claude API 密钥
      required: false
      type: text
    - default: ""
      edit: true
      envKey: QWEN_ACCESS_KEY_ID
      labelEn: Qwen Access Key ID
      labelZh: 通义千问 Access Key ID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: QWEN_ACCESS_KEY_SECRET
      labelEn: Qwen Access Key Secret
      labelZh: 通义千问 Access Key Secret
      required: false
      type: text
    - default: ""
      edit: true
      envKey: QWEN_AGENT_KEY
      labelEn: Qwen Agent Key
      labelZh: 通义千问 Agent Key
      required: false
      type: text
    - default: ""
      edit: true
      envKey: QWEN_APP_ID
      labelEn: Qwen App ID
      labelZh: 通义千问 App ID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: QWEN_NODE_ID
      labelEn: Qwen Node ID
      labelZh: 通义千问 Node ID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: DASHSCOPE_API_KEY
      labelEn: Dashscope API Key
      labelZh: Dashscope API 密钥
      required: false
      type: text
    - default: ""
      edit: true
      envKey: GEMINI_API_KEY
      labelEn: Gemini API Key
      labelZh: Gemini API 密钥
      required: false
      type: text
    - default: "true"
      edit: true
      envKey: WEWORK_SMART
      labelEn: WeWork Smart
      labelZh: WeWork 智能
      required: true
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: "true"
      edit: true
      envKey: SPEECH_RECOGNITION
      labelEn: Speech Recognition
      labelZh: 语音识别
      required: true
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: "false"
      edit: true
      envKey: GROUP_SPEECH_RECOGNITION
      labelEn: Group Speech Recognition
      labelZh: 群聊语音识别
      required: true
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: "false"
      edit: true
      envKey: VOICE_REPLY_VOICE
      labelEn: Speech Response Speech
      labelZh: 语音回复语音
      required: true
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: "false"
      edit: true
      envKey: ALWAYS_REPLY_VOICE
      labelEn: Always Reply Voice
      labelZh: 总是语音回复
      required: true
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: "openai"
      edit: true
      envKey: VOICE_TO_TEXT
      labelEn: Speech Recognition Engines
      labelZh: 语音识别引擎
      required: false
      type: text
    - default: "false"
      edit: true
      envKey: TEXT_TO_VOICE
      labelEn: Speech Synthesis Engines
      labelZh: 语音合成引擎
      required: false
      type: text
    - default: "tts-1"
      edit: true
      envKey: TEXT_TO_VOICE_MODEL
      labelEn: Text to Voice Model
      labelZh: 文字转语音模型
      required: false
      type: text
    - default: "alloy"
      edit: true
      envKey: TTS_VOICE_ID
      labelEn: TTS Voice ID
      labelZh: TTS 语音 ID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: BAIDU_APP_ID
      labelEn: Baidu App ID
      labelZh: 百度 App ID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: BAIDU_API_KEY
      labelEn: Baidu API Key
      labelZh: 百度 API 密钥
      required: false
      type: text
    - default: ""
      edit: true
      envKey: BAIDU_SECRET_KEY
      labelEn: Baidu Secret Key
      labelZh: 百度 Secret 密钥
      required: false
      type: text
    - default: "1537"
      edit: true
      envKey: BAIDU_DEV_PID
      labelZh: Baidu Dev PID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: AZURE_VOICE_API_KEY
      labelEn: Azure Voice API Key
      labelZh: Azure 语音 API 密钥
      required: false
      type: text
    - default: "japaneast"
      edit: true
      envKey: AZURE_VOICE_REGION
      labelEn: Azure Voice Region
      labelZh: Azure 语音区域
      required: false
      type: text
    - default: ""
      edit: true
      envKey: XI_API_KEY
      labelEn: Elevenlabs API Key
      labelZh: Elevenlabs API 密钥
      required: false
      type: text
    - default: ""
      edit: true
      envKey: XI_VOICE_ID
      labelEn: Elevenlabs Voice ID
      labelZh: Elevenlabs 语音 ID
      required: false
      type: text
    - default: "false"
      edit: true
      envKey: CHAT_TIME_MODULE
      labelEn: Chat Time Module
      labelZh: 服务时间限制
      required: true
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: "00:00"
      edit: true
      envKey: CHAT_START_TIME
      labelEn: Chat Start Time
      labelZh: 服务开始时间
      required: false
      type: text
    - default: "24:00"
      edit: true
      envKey: CHAT_STOP_TIME
      labelEn: Chat Stop Time
      labelZh: 服务结束时间
      required: false
      type: text
    - default: "baidu"
      edit: true
      envKey: TRANSLATE
      labelEn: Translate
      labelZh: 翻译引擎
      required: false
      type: text
    - default: ""
      edit: true
      envKey: BAIDU_TRANSLATE_APP_ID
      labelEn: Baidu Translate App ID
      labelZh: 百度翻译 App ID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: BAIDU_TRANSLATE_APP_KEY
      labelEn: Baidu Translate App Key
      labelZh: 百度翻译 App 密钥
      required: false
      type: text
    - default: "false"
      edit: true
      envKey: HOT_RELOAD
      labelEn: Hot Reload
      labelZh: 热重载
      required: true
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: ""
      edit: true
      envKey: WECHATY_PUPPET_SERVICE_TOKEN
      labelEn: Wechaty Puppet Service Token
      labelZh: Wechaty 机器人服务 Token
      required: false
      type: text
    - default: ""
      edit: true
      envKey: WECHATMP_TOKEN
      labelEn: WechatMP Token
      labelZh: 微信公众平台 Token
      required: false
      type: text
    - default: "8080"
      edit: true
      envKey: WECHATMP_PORT
      labelEn: WechatMP Port
      labelZh: 微信公众平台端口
      required: false
      type: number
    - default: ""
      edit: true
      envKey: WECHATMP_APP_ID
      labelEn: WechatMP App ID
      labelZh: 微信公众平台 App ID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: WECHATMP_APP_SECRET
      labelEn: WechatMP App Secret
      labelZh: 微信公众平台 App Secret
      required: false
      type: text
    - default: ""
      edit: true
      envKey: WECHATMP_AES_KEY
      labelEn: WechatMP AES Key
      labelZh: 微信公众平台 AES Key
      required: false
      type: text
    - default: ""
      edit: true
      envKey: WECHATCOM_CORP_ID
      labelEn: Wechatcom Corp ID
      labelZh: 企业微信公司 Corp ID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: WECHATCOMAPP_TOKEN
      labelEn: WechatcomApp Token
      labelZh: 企业微信 App Token
      required: false
      type: text
    - default: "9898"
      edit: true
      envKey: WECHATCOMAPP_PORT
      labelEn: WechatcomApp Port
      labelZh: 企业微信 App 端口
      required: false
      type: number
    - default: ""
      edit: true
      envKey: WECHATCOMAPP_SECRET
      labelEn: WechatcomApp Secret
      labelZh: 企业微信 App Secret
      required: false
      type: text
    - default: ""
      edit: true
      envKey: WECHATCOMAPP_AGENT_ID
      labelEn: WechatcomApp Agent ID
      labelZh: 企业微信 App Agent ID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: WECHATCOMAPP_AES_KEY
      labelEn: WechatcomApp AES Key
      labelZh: 企业微信 App AES Key
      required: false
      type: text
    - default: "80"
      edit: true
      envKey: FEISHU_PORT
      labelEn: Feishu Port
      labelZh: 飞书 Bot 监听端口
      required: false
      type: number
    - default: ""
      edit: true
      envKey: FEISHU_APP_ID
      labelEn: Feishu App ID
      labelZh: 飞书机器人应用 App ID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: FEISHU_APP_SECRET
      labelEn: Feishu App Secret
      labelZh: 飞书机器人 App Secret
      required: false
      type: text
    - default: ""
      edit: true
      envKey: FEISHU_TOKEN
      labelEn: Feishu Token
      labelZh: 飞书 Verification Token
      required: false
      type: text
    - default: ""
      edit: true
      envKey: FEISHU_BOT_NAME
      labelEn: Feishu Bot Name
      labelZh: 飞书机器人名称
      required: false
      type: text
    - default: ""
      edit: true
      envKey: DINGTALK_CLIENT_ID
      labelEn: Dingtalk Client ID
      labelZh: 钉钉机器人 Client ID
      required: false
      type: text
    - default: ""
      edit: true
      envKey: DINGTALK_CLIENT_SECRET
      labelEn: Dingtalk Client Secret
      labelZh: 钉钉机器人 Client Secret
      required: false
      type: text
    - default: "false"
      edit: true
      envKey: DINGTALK_CARD_ENABLED
      labelEn: Dingtalk Card Enabled
      labelZh: 钉钉卡片开启
      required: true
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: ["#清除记忆"]
      edit: true
      envKey: CLEAR_MEMORY_COMMANDS
      labelEn: Clear Memory Commands
      labelZh: 清除记忆指令
      required: false
      type: text
    - default: "wx"
      edit: true
      envKey: CHANNEL_TYPE
      labelEn: Channel Type
      labelZh: 通道类型
      required: true
      type: select
      values:
        - label: "wx"
          value: "wx"
        - label: "wxy"
          value: "wxy"
        - label: "terminal"
          value: "terminal"
        - label: "wechatmp"
          value: "wechatmp"
        - label: "wechatmp_service"
          value: "wechatmp_service"
        - label: "wechatcom_app"
          value: "wechatcom_app"
        - label: "dingtalk"
          value: "dingtalk"
    - default: ""
      edit: true
      envKey: SUBSCRIBE_MSG
      labelEn: Subscribe Message
      labelZh: 订阅消息
      required: false
      type: text
    - default: "false"
      edit: true
      envKey: DEBUG
      labelEn: Debug
      labelZh: 调试模式
      required: true
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: ""
      edit: true
      envKey: APPDATA_DIR
      labelEn: Appdata Directory
      labelZh: 数据目录
      required: false
      type: text
    - default: "$"
      edit: true
      envKey: PLUGIN_TRIGGER_PREFIX
      labelEn: Plugin Trigger Prefix
      labelZh: 插件触发前缀
      required: false
      type: text
    - default: "false"
      edit: true
      envKey: USE_GLOBAL_PLUGIN_CONFIG
      labelEn: Use Global Plugin Config
      labelZh: 使用全局插件配置
      required: true
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: "3"
      edit: true
      envKey: MAX_MEDIA_SEND_COUNT
      labelEn: Max Media Send Count
      labelZh: 单次最大发送媒体资源数量
      required: false
      type: number
    - default: "1"
      edit: true
      envKey: MEDIA_SEND_INTERVAL
      labelEn: Media Send Interval
      labelZh: 发送图片事件间隔（秒）
      required: false
      type: number
    - default: ""
      edit: true
      envKey: ZHIPU_AI_API_KEY
      labelEn: Zhipu AI API Key
      labelZh: 智谱 AI API 密钥
      required: false
      type: text
    - default: "https://open.bigmodel.cn/api/paas/v4"
      edit: true
      envKey: ZHIPU_AI_API_BASE
      labelEn: Zhipu AI API Base
      labelZh: 智谱 AI API 地址
      required: false
      type: text
    - default: ""
      edit: true
      envKey: MOONSHOT_API_KEY
      labelEn: Moonshot API Key
      labelZh: Moonshot API 密钥
      required: false
      type: text
    - default: "https://api.moonshot.cn/v1/chat/completions"
      edit: true
      envKey: MOONSHOT_BASE_URL
      labelEn: Moonshot Base URL
      labelZh: Moonshot API 地址
      required: false
      type: text
    - default: "false"
      edit: true
      envKey: USE_LINKAI
      labelEn: Use LinkAI
      labelZh: 使用 LinkAI
      required: true
      type: select
      values:
        - label: "True"
          value: "true"
        - label: "False"
          value: "false"
    - default: ""
      edit: true
      envKey: LINKAI_API_KEY
      labelEn: LinkAI API Key
      labelZh: LinkAI API 密钥
      required: false
      type: text
    - default: ""
      edit: true
      envKey: LINKAI_APP_CODE
      labelEn: LinkAI App Code
      labelZh: LinkAI App Code
      required: false
      type: text
    - default: "https://api.link-ai.tech"
      edit: true
      envKey: LINKAI_API_BASE
      labelEn: LinkAI API Base
      labelZh: LinkAI API 地址
      required: false
      type: text
