Code Monkey home page Code Monkey logo

gpt-commercial's Introduction

😏 gpt-commercial

本项目是一个商用版服务平台,基于Java语言实现服务端功能,前端使用React框架,底层使用官方的ChatGPT API。用户可以通过一键部署方便地使用本平台。除了支持chat对话模型外,还支持openai官方所有api,包括余额查询、模型检索、Completions chatgpt对话、Images 图片模型、模型自定义训练、文件上传自定义模型、微调、文本审核和敏感词鉴别,以及GPT 3.5、4.0和4.0-32k等功能。

🙌 为何开源?

  1. 补缺java语言的商业版ChatGPT
  2. 加速创新,提高软件质量
  3. 共同学习

功能

  1. openai所有接口的对接
  2. 超长token优化及网络速度优化
  3. 支付宝当面付对接,可用来支付会员卡
  4. 微信公众号对接,包括公众号关注监听,取关监听,地理位置监听,扫码事件监听,菜单监听
  5. 登录方式: 微信授权登录/邮箱登录/短信登录(阿里云短信服务)
  6. AI角色赋能
  7. 会员卡功能
  8. 反馈与建议
  9. 后台管理仪表盘/用户信息/gpt配置/会员卡及权益配置/站点logo配置/网站名称配置....省略~

前端示例

公众号交互

图片替换文本

旅游攻略

旅游攻略

产品经理

产品经理

会员购买

会员购买

个人信息

个人信息

集成框架

框架 版本
springboot 2.7.0
redisson 3.17.0
mybatis-plus 3.5.2
IJPay 2.9.6
knife4j 4.1.0
sa-token 1.34.0
weixin-java-mp 4.4.0

模块说明

C 端页面源码 服务端 B端后台管理页面源码
genius-web ai-mechanician genius-admin

部署教程

1.环境安装(新手建议宝塔安装)

  1. mysql >=5.7
  2. redis >=6
  3. Nginx >=2.0

2.初始化SQL

将ai-mechanician/sql/ai-mechanician.sql导入到mysql中

3.页面部署

🔗 https://be.apeto.cn/archives/ye-mian-bu-shu

4.服务端部署

1.执行命令:

mkdir -p /www/wwwroot/docker/gpt-commercial/{config,logs} &&  cd /www/wwwroot/docker/gpt-commercial/config

2.将配置文件application-dev.yaml放到当前目录下

3.创建docker-compose.yaml

version: '3'
services:
  gpt-commercial:
    container_name: gpt-commercial
    network_mode: "host"
    image: registry.cn-hangzhou.aliyuncs.com/warape/gpt-commercial:v1.3.1
    volumes:
      - /www/wwwroot/docker/gpt-commercial/config:/home/spring/config  #config映射目录
      - /www/wwwroot/docker/gpt-commercial/logs:/home/spring/logs     #logs映射目录
    environment:
      - JAVA_OPTS=-Xmx1024m -Djava.awt.headless=true -XX:+HeapDumpOnOutOfMemoryError -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -Xloggc:/home/spring/logs/gc.log -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9876 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dlogging.file.path=/home/spring/logs -Duser.timezone=Asia/Shanghai -Dfile.encoding=UTF-8
      - SPRING_PROFILES_ACTIVE=dev # 环境变量 默认dev 可手动修改
      - SPRING_CONFIG_LOCATION=file:/home/spring/config/
      - SERVER_PORT=8080 # 端口号 如果冲突可修改 修改后要和Nginx的反向代理做适配 

4.启动docker

docker-compose  -f docker-compose.yaml up -d

5.查看日志

docker-compose -f docker-compose.yaml logs

前端项目说明

🔗 https://www.gaojinglin.vip/archives/genius-web%E5%89%8D%E7%AB%AF%E9%A1%B9%E7%9B%AE%E8%AF%B4%E6%98%8E

💬 加入我们

⭐️ 不要吝啬你的star 会持续更新 为了方便找到此项目 可以点一下小星星

GPT商业版开源讨论群 作者微信 如果二维码过期请加我好友
图片替换文本 图片替换文本

💯 以下为plus收费版

如果以上开源代码不满足你的要求,可以看一下我们的收费版本 一次购买 持续更新 随着功能的完善后面会涨价哦~ 现在还是优惠阶段 现在卖源码的泛滥,有些直接发你源码。不管你是否有部署能力,也没有售后和运营帮助。更没有持续更新。但我们不一样~~~

  1. 私有化部署AI并且永久免费持续更新

  2. VIP会员群,答疑解惑,分享成功案例

  3. 知识库(预计8月中旬上线)

🔗 演示地址 https://chat.apeto.cn

🔗 后台管理演示地址: http://chatadmin1.warape.top/

账号: admin 密码: 123456

项目快到飞起~可自行体验

gpt-commercial's People

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.