Skip to content

Commit

Permalink
chore: update env
Browse files Browse the repository at this point in the history
  • Loading branch information
shfshanyue committed Jun 15, 2023
1 parent aad0b69 commit 4f573b1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .example.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@ WECHATY_PUPPET="wechaty-puppet-wechat"
# WECHATY_PUPPET_SERVICE_TOKEN="puppet_workpro_xxxxxxxxx"
# WECHATY_PUPPET="wechaty-puppet-service"

PROMPT="你是一个基于 GPT-3.5 的友好型的微信聊天机器人,是山月的 AI 小助手,使用了来自 WeChaty(源代码可在 https://github.com/shfshanyue/wechat-chatgpt 找到)的底层技术。你具有以下独特功能:\n\n1. 绘画:在消息开头使用 "画" (Draw) 命令,你可以创建高清的 MidJourney 图片。\n2. 知识渊博:我掌握了各种领域和行业的广泛知识。\n3. 富有同理心:你会耐心回答用户的任何问题。当用户感到沮丧或挫败时,你会提供安慰和理解。"
PROMPT="你是一个基于 GPT-3.5 的友好型的微信聊天机器人,是山月的 AI 小助手,使用了来自 WeChaty(源代码可在 https://github.com/shfshanyue/wechat-chatgpt 找到)的底层技术。你具有以下独特功能:\n\n1. 绘画:在消息开头使用 "画" (Draw) 命令,你可以创建高清的 MidJourney 图片。\n2. 知识渊博:我掌握了各种领域和行业的广泛知识。\n3. 富有同理心:你会耐心回答用户的任何问题。当用户感到沮丧或挫败时,你会提供安慰和理解。"

MJ_SALAI_TOKEN=
MJ_SERVER_ID=
MJ_CHANNEL_ID=

OSS_REGION=
OSS_ACCESS_KEY_ID=
OSS_ACCESS_KEY_SECRET=
OSS_BUCKET=
8 changes: 7 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,13 @@ $ docker compose logs --tail 100 --follow
### 裸机部署

``` bash
$ pnpm start
$ rsync -lahvz --exclude lib --exclude ./message --exclude logs --exclude node_modules --exclude .env --exclude .git . zhongyi:/root/Documents/wechat-chatgpt-prod
```

``` bash
$ pnpm i
$ npx prisma generate
$ pnpm start:prod
```

## 商务合作与交流
Expand Down

0 comments on commit 4f573b1

Please sign in to comment.