Upload 2 files
Browse files- Dockerfile +46 -0
- README.md +13 -10
Dockerfile
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM zhayujie/chatgpt-on-wechat:master
|
| 2 |
+
|
| 3 |
+
# 公众号
|
| 4 |
+
ENV channel_type=wechatmp
|
| 5 |
+
|
| 6 |
+
# 公共配置
|
| 7 |
+
ENV TZ=Asia/Shanghai
|
| 8 |
+
ENV bot_type=chatGPT
|
| 9 |
+
ENV MODEL=comic-c
|
| 10 |
+
ENV temperature=0.7
|
| 11 |
+
ENV request_timeout=600
|
| 12 |
+
ENV timeout=120
|
| 13 |
+
ENV hot_reload=true
|
| 14 |
+
|
| 15 |
+
ENV SINGLE_CHAT_PREFIX=[""]
|
| 16 |
+
ENV SINGLE_CHAT_REPLY_PREFIX=
|
| 17 |
+
ENV single_chat_reply_suffix="\n\n我是一个AI助手,可以问我问题,可以要我画图,不喜欢可以将我移除,但请不要举报,我没有危害,打小报告是极端猥琐的行为。\nhttps://comic.168369.xyz"
|
| 18 |
+
|
| 19 |
+
ENV GROUP_CHAT_PREFIX=[""]
|
| 20 |
+
ENV no_need_at=true
|
| 21 |
+
|
| 22 |
+
ENV group_chat_reply_prefix=
|
| 23 |
+
ENV group_chat_reply_suffix=${single_chat_reply_suffix}
|
| 24 |
+
ENV group_name_white_list=["ALL_GROUP"]
|
| 25 |
+
ENV group_chat_in_one_session=["ALL_GROUP"]
|
| 26 |
+
|
| 27 |
+
ENV trigger_by_self=true
|
| 28 |
+
|
| 29 |
+
ENV IMAGE_CREATE_PREFIX=["画", "看", "找"]
|
| 30 |
+
ENV text_to_image=dall-e-2
|
| 31 |
+
|
| 32 |
+
ENV CONVERSATION_MAX_TOKENS=3000
|
| 33 |
+
ENV EXPIRES_IN_SECONDS=3600
|
| 34 |
+
ENV USE_GLOBAL_PLUGIN_CONFIG=True
|
| 35 |
+
|
| 36 |
+
ENV SPEECH_RECOGNITION=True
|
| 37 |
+
ENV voice_to_text=openai
|
| 38 |
+
|
| 39 |
+
ENV group_speech_recognition=true
|
| 40 |
+
|
| 41 |
+
ENV text_to_voice=openai
|
| 42 |
+
ENV text_after_voice=true
|
| 43 |
+
ENV tts_voice_id=alloy
|
| 44 |
+
|
| 45 |
+
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. \nPlease remember to communicate with me using 简体中文 and Chinese mainland terms.\n\n<think>\\n\n**重要:请务必按照以下步骤操作:**\n\n1. 首先,对所有问题(尤其是 math problems, logic problems, complex multi-part questions 等)务必进行 systematic step-by-step thinking。\n2. **其次,务必输出思考过程,以 `<think>\\n` 开始,以 `\\n</think>` 结束。** 思考内容请放在 `<think>` 和 `</think>` 标签之间。\n3. 接着,在思考过程之后,输出最终的答案或回复。\n\n请根据以上步骤,回答以下问题或执行以下指示:`
|
| 46 |
+
ENV subscribe_msg=感谢您的关注!这里是ChatGPT,可以自由对话。支持语音对话。支持图片输出,画字开头的消息将按要求创作图片。
|
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
-
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk: docker
|
| 7 |
-
pinned: false
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: wechat1
|
| 3 |
+
emoji: 😊
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: red
|
| 6 |
+
sdk: docker
|
| 7 |
+
pinned: false
|
| 8 |
+
app_port: 8080
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
|