Code Monkey home page Code Monkey logo

gpt-wechat's Introduction

代码介绍

  • The JVM level was changed from '1.8'
  • 只需要自己申请公众号、chatGPT账号、通过配置启动,开箱即用
  • token值动态计算,自动组合用户聊天上下文
  • 天气预报/天气预警推送功能

开始

  • 需要一台有公网的服务器,不然腾讯消息没地方转,或者 使用 https://natapp.cn 进行内网穿透,最好申请一台在国外的服务器, 厂商挺多的,国内还都很贵

1、首先去微信申请一个公众号,或者测试号

申请地址:https://mp.weixin.qq.com/

申请之后需要在公众号的基本配置中进行一些配置

img_1.png

无脑配就行,主要是服务器地址填http://你的域名/v1/gpt/wechat/event

域名可以填natapp生成的域名

2、还需要申请ChatGPT的key

申请地址:https://platform.openai.com/account/api-keys

接着将申请到的微信配置信息以及ChatGPT的key填入到application.yaml当中,启动即可

img.png

实现效果

img.png

gpt-wechat's People

Forkers

1127152834

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.