chatgpt-wework-robot

零代码、一键部署chatgpt到企业微信,无须VPN,速度快

Stars
378

chatGPT

AI

chatgpt , AiAi7*24


ChatGPT

ChatGPTChatGPTChatGPT:

  1. ChatGPTChatGPTRender

  2. ForkAPI

Render

Render +

-->-->-->-->-->logo +

-->API--> image

corpid, agentid, secret, token ,aeskey, open-api-key

corpid : -->-->--> agentid, secret: image

token ,aeskey API

open-api-key ChatGPTchatgpt image

API KEY

Render


Key value
AESKEY
AGENTID
CORPID
OPENAI_API_KEY
OPENAI_MODEL gpt-3.5-turbo gpt-3.5-turbo gpt-4 gpt4gpt-4
SECRET
TOKEN
MSG_TYPE xml xml markdown, xml:
PORT 6060

Apply

3-5URLURL/message, URL https://abc.com https://abc.com/message **** image

IP IP image

IPRender->Connect->Outbound image

ipIP

💯 ChatGPT

Render chatgptGPT 3.5 turbo, PLUS API Key

<kbd>
    <img src="https://github.com/sytpb/chatgpt-wework-robot/assets/12178686/a8c55a14-72f7-4525-bba5-8743c98284cf" width="400px">
</kbd>

your server is live

  1. openapi https://..../message ,https/message/

  2. ... CNAME https://render.com/docs/custom-domains

  3. AIAI IP

  4. IP IP, ,

render render 3-5

starter,docker

  1. nodejs linux centos []
    centos
sudo yum install nodejs  
  1. github
git clone https://github.com/sytpb/chatgpt-wework-robot

cd chatgpt-wework-robot
npm install 
 cd /etc/systemd/system
 touch aistory.service

vim aistory.service

[Unit]
Description = ai story service
After = network.target

[Service]
ExecStart = your path/aistory.sh

[Install]
WantedBy = multi-user.target

aistory.sh

#!/bin/bash
npm run dev
chmod +x aistory.sh
systemctl start aistory.service

Docker

  1. Render:

  2. Render 1.

  3. .env.example

    • openai api openai api OPENAI_PROXY_URL.
      .
      OPENAI_PROXY_URL=openai.abc.com
      
  4. docker

    .env.local

    # docker4bill/ww-openai-node:alpine  Dockerfile 
    docker run --env-file .env.local -p 6060:6060 -d docker4bill/ww-openai-node:alpine
    
  5. caddy nginx

    abc.com, caddy:

    abc.com {
      reverse_proxy localhost:6060
    }
    
  6. IPIP

  7. ** URL**

    abc.com/messagehttps://abc.com/messageURL

Chatgpt

1

2

3

Related Projects