Code Monkey home page Code Monkey logo

openai-bot's Introduction

企业微信版本chatgpt机器人

快速运行

docker run -d -p 3201:3200 \
  -e api_key="[chatgpt的APIkey]" \
  -e app_port=":3200" \
  -e app_model="text-davinci-003" \
  -e wework_token="[企业微信自建应用的API token]" \
  -e wework_encodingAeskey="[企业微信自建应用的encodingAeskey]" \
  -e wework_corpid="[企业微信企业唯一ID]" \
  -e wework_secret="[企业微信自建应用的secret]" \
  -e wework_agentid="[企业微信自建应用的agentid]" \
  ibfpig/openai-wework:1.0.0

自行构建docker image

docker build -t 镜像名称:tag .

使用docker-compose.yml运行

  1. 修改docker-compose.yml文件中的环境变量

  2. 运行

docker-compose up -d

TODO

  • 支持企业微信openai
  • 支持官网版本的ChatGPT
  • 优化企业微信token获取方式(目前比较粗暴,没存,每次使用会重新获取)
  • 兼容飞书、钉钉等其他企业工具

openai-bot's People

Contributors

thlz998 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.