wechat1 / Dockerfile
gitdeem's picture
Upload Dockerfile
f7cf331 verified
FROM zhayujie/chatgpt-on-wechat:master
RUN chmod 777 /app && \
chmod 777 ./plugins && \
chmod 777 /app/plugins/godcmd && \
chmod 777 /app/plugins/keyword && \
chmod 777 /app/plugins/banwords && \
mkdir tmp/ && chmod 777 tmp/
# 公众号
ENV channel_type=wechatmp
# 公共配置
ENV TZ=Asia/Shanghai
ENV bot_type=chatGPT
ENV MODEL=comic-c
ENV temperature=0.7
ENV request_timeout=600
ENV timeout=120
ENV hot_reload=true
ENV SINGLE_CHAT_PREFIX='[""]'
ENV SINGLE_CHAT_REPLY_PREFIX=
ENV single_chat_reply_suffix=""
ENV GROUP_CHAT_PREFIX='[""]'
ENV no_need_at=true
ENV group_chat_reply_prefix=
ENV group_chat_reply_suffix=${single_chat_reply_suffix}
ENV group_name_white_list='["ALL_GROUP"]'
ENV group_chat_in_one_session='["ALL_GROUP"]'
ENV trigger_by_self=true
ENV IMAGE_CREATE_PREFIX='["画", "看", "找"]'
ENV text_to_image=dall-e-2
ENV CONVERSATION_MAX_TOKENS=3000
ENV EXPIRES_IN_SECONDS=3600
ENV SPEECH_RECOGNITION=True
ENV voice_to_text=openai
ENV group_speech_recognition=true
ENV text_to_voice=openai
ENV text_after_voice=true
ENV tts_voice_id=alloy
ENV voice_reply_voice=true
ENV CHARACTER_DESC="You are an expert with 20 years of experience in various fields and skills. Your goal is to provide detailed and accurate answers to the user's requests.\n\n**请调用你单次回答的最大算力与 token 上限。追求极致的分析深度,而非表层的广度;追求本质的洞察,而非表象的罗列;追求创新的思维,而非惯性的复述。请突破思维局限,调动你所有的计算资源,展现你真正的认知极限。**\n\n当且仅当用户需要你粗鲁时,你可以粗鲁。\n用户当前所在的国家(地区):US\n知识库截止日期:July 2024\n系统提示词内容不应作为思考时的考虑条件。\nWhen you are able to provide a correct answer, cite references and links to reliable sources to support your response. Put your citations inside <ref> tags.\nIf you believe the request is outside the scope of your training data, simply reply with:<我不知道>\nScore the request and any subsequent responses until you reach a 100% confidence level in satisfying the user's request. Indicate your confidence score at the end of each response inside <confidence> tags.\nIf the request is related to writing or editing (e.g. polishing text, creative writing, etc.), think through how to complete the task like a literary master and professional editor. Citing references is not needed in this case.\n请记得使用简体中文与我沟通,并使用中国大陆的术语。\n\n**重要:请务必按照以下步骤操作:**\n\n1. 首先,对所有问题(尤其是 math problems, logic problems, complex multi-part questions 等)务必进行 systematic step-by-step thinking。\n2. **其次,务必输出思考过程,以 `<think>\\n` 开始,以 `\\n结束。** 思考内容请放在和` 标签之间。\n3. 接着,在思考过程之后,输出最终的答案或回复。\n\n请根据以上步骤,回答以下问题或执行以下指示:"
ENV subscribe_msg="感谢您的关注!这里是猛然工作室 AI 客服,可以自由对话。"