Giter VIP home page Giter VIP logo

chatgpt-gzh's Introduction

基于公众号的chatgpt

该项目可以让你在公众号实现与chatgpt的对话

技术栈

  • web框架:Flask
  • wsgi server: gunicorn

前置操作

  1. 安装 python3.8以上版本
  2. 安装依赖文件
pip install -r requirements.txt

本地开发

1、在项目根目录创建 .env文件 ,主要放置敏感数据,比如数据库配置,密钥等数据,内容:

WECHAT_APPID=公众号APPID
WECHAT_SECRET=公众号密钥
OPENAI_KEY=chatpgt的openapi key
REDIS_PASSWORD=Redis密码

2、启动

flask run

正式环境中请将配置项放置在环境变量中,教程请参考文章:我用Python写个公众号版chatgpt:打造私人AI助理

运行效果

体验地址

关注公众号【志军foofish】直接发起提问

联系我

微信:lzjun567

chatgpt-gzh's People

Contributors

lzjun567 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chatgpt-gzh's Issues

Imports in /application/dto/__init__.py have no corresponding files.

from .chapter import *
from .common import *
from .course import *
from .department import *
from .institution import *
from .permission import *
from .student import *
from .tag import *
from .stats import *
from .wechat import *

Currently we only have chapter on that location.

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.