GithubHelp home page GithubHelp logo

lsqnick / chatgpt-wework-robot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sytpb/chatgpt-wework-robot

0.0 0.0 0.0 95 KB

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

JavaScript 100.00%

chatgpt-wework-robot's Introduction

零代码 一键部署chatGPT到企业微信应用 无须VPN

ChatGPT 接入企业微信,赋能商业成功

关于本项目

本项目可以实现一键部署ChatGPT到企业微信中,使ChatGPT与企业微信完美融合,手机或电脑上,打开企业微信,就可以使用强大的ChatGPT智能问答。截止目前,本项目可以提供两个能力:

  1. 功能集成,将ChatGPT问答功能集成到企业微信中,借助企业微信权限功能,可以将ChatGPT共享到企业应用当中,此功能要求简单,有企业微信管理员权限即可,方法,参照下面的部署方法

  2. 更强大的功能扩展,本项目为开源项目,有开发能力的小伙伴可以Fork到自己的仓库,根据自己企业业务需要,比如结合企业微信开放的API,二次开发一些其他功能。

  3. 其他功能,后续更新。

部署方法

  1. 创建企业微信应用

第一步,创建应用,操作方法:企微管理员, 电脑端上的企业微信-->头像-->管理企业-->应用管理-->(最下面)创建应用-->应用logo + 填入基本信息

image

第二步,配置应用,操作方法:接收消息一栏-->设置API接收-->未完等待第四步。 image

第三步,记录和准备下列字段信息, corpid, agentid, secret, token ,aeskey, open-api-key

corpid : 电脑端上的企业微信-->头像-->管理企业-->我的企业(下方) 图略

agentid, secret: 第一步里完成后可见。 image

token ,aeskey: 在设置API接收里(上面第二步)

open-api-key 这个需要在ChatGPT账号里生成,(如果没有chatgpt 账号也可以让别人生成一个,但是这个会产生费用) image

申请网址API KEY

第四步,一键部署到Render(代理服务器,免费,可以升级付费) Deploy to Render

image

如图所示,将上面的字段信息填入,然后点击Apply。

需要等3-5分钟部署,完成后复制生成的服务的URL,如下图,然后拷贝URL后面拼接上/message, 比如URL是 https://abc.com 拼接成 https://abc.com/message, 粘贴到上面第二步页面里,然后点保存,看到提示类似”保存成功“,代表服务已经配置成功了! image

最后一步: 企业可信IP配置, 应用页的最下方,配置可信IP。 image

IP地址如下图,Render->Connect->Outbound image

将这三个ip地址配置到可信IP里,至此所有配置工作完成。

💯 下面就可以直接体验了,手机或电脑上企业微信进入自己创建的应用,可以和ChatGPT的聊起来了。

经过一段时间的测试,如果想提高回复速度,办法一是升级Render 为付费,另外一个最重要的因素是chatgpt回复的有延迟,因为用的是GPT 3.5 turbo, 如果是PLUS 用户的API Key 会快很多,这是本人的测试情况,供参考。

ChatGPT的诞生给整个产业带来巨大的变化,希望大家多交流,多提issue 和点star 关注后续,也希望更多开发小伙伴参与进来,一起撸代码,一起搞新功能。

微信群,有问题建议先提issue。

group

chatgpt-wework-robot's People

Contributors

sytpb 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.