{"id":13615510,"url":"https://github.com/wooveep/chatserver-web","last_synced_at":"2025-04-13T21:31:06.766Z","repository":{"id":163842395,"uuid":"639232265","full_name":"wooveep/chatserver-web","owner":"wooveep","description":"基于OPENAI的ChatGPTAPI开发的适合企业团队使用的AI助手","archived":false,"fork":false,"pushed_at":"2023-06-27T07:22:31.000Z","size":9684,"stargazers_count":80,"open_issues_count":1,"forks_count":10,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-11-07T23:39:32.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wooveep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-11T03:32:31.000Z","updated_at":"2024-08-15T06:02:45.000Z","dependencies_parsed_at":"2024-01-17T00:18:27.666Z","dependency_job_id":"df06a648-db91-4f00-8a62-78c1475e1ae2","html_url":"https://github.com/wooveep/chatserver-web","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooveep%2Fchatserver-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooveep%2Fchatserver-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooveep%2Fchatserver-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wooveep%2Fchatserver-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wooveep","download_url":"https://codeload.github.com/wooveep/chatserver-web/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248786131,"owners_count":21161403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T20:01:14.613Z","updated_at":"2025-04-13T21:31:01.752Z","avatar_url":"https://github.com/wooveep.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"\u003c!--\n * @Author: cloudyi.li\n * @Date: 2023-03-23 13:04:10\n * @LastEditTime: 2023-06-27 15:13:52\n * @LastEditors: cloudyi.li\n * @FilePath: /chatserver-web/README.md\n--\u003e\n\n# 基于OPENAI的ChatGPT API开发的AI助手服务\n\n## 更新\n\n  智能搜搜-支持OPENAI 函数调用、与16K模型，使用azureAPI时会使用自己实现的函数调用方式处理。\n\n## 体验站\n\n  [https://chat.wooveep.net](https://chat.wooveep.net/#/register/uNJtISQw)\n\n\u003e本项目前端Fork自项目[Chanzhaoyu](https://github.com/Chanzhaoyu)/**[chatgpt-web](https://github.com/Chanzhaoyu/chatgpt-web)**\n\n本仓库为前端代码，依赖的后端仓库为[wooveep](https://github.com/wooveep)/[chatserver-api](https://github.com/wooveep/chatserver-api)使用Golang语言编写\n\n- [基于OPENAI的ChatGPT API开发的AI助手服务](#基于openai的chatgpt-api开发的ai助手服务)\n  - [更新](#更新)\n  - [体验站](#体验站)\n  - [实现功能](#实现功能)\n  - [应用场景](#应用场景)\n  - [目标群体](#目标群体)\n  - [系统演示](#系统演示)\n    - [项目截图](#项目截图)\n      - [用户登录](#用户登录)\n      - [用户注册](#用户注册)\n      - [主页面](#主页面)\n      - [会话上下文设置](#会话上下文设置)\n      - [会话角色控制](#会话角色控制)\n      - [用户充值与邀请](#用户充值与邀请)\n      - [基于本地知识库的问答](#基于本地知识库的问答)\n  - [待实现列表](#待实现列表)\n  - [安装部署](#安装部署)\n    - [前置条件](#前置条件)\n      - [启动后端API进程](#启动后端api进程)\n    - [前端项目启动](#前端项目启动)\n      - [编译部署](#编译部署)\n        - [前置要求](#前置要求)\n        - [克隆项目并安装依赖](#克隆项目并安装依赖)\n        - [运行网页](#运行网页)\n        - [打包dist](#打包dist)\n        - [打包docker](#打包docker)\n      - [docker方式启动](#docker方式启动)\n  - [License](#license)\n\n## 实现功能\n\n- [x] 支持Azure API，OpenAI API\n- [x] 用户登录、注册、密码修改、密码重置、角色管理\n- [x] 用户积分额度、会员权益管理\n- [x] 后端云存储用户会话和聊天记录\n- [x] 按照会话指定AI角色，并随意切换\n- [x] 长回复功能，后端自动处理token截断回答\n- [x] 支持结合本地知识库问答\n- [x] 后端处理会话上下文逻辑\n- [x] 支持流式回复打字机效果\n- [x] 支持按照Token计费\n- [x] 基于卡密方式的用户额度充值\n- [x] 用户消费明细查询\n- [x] 用户邀请控制\n- [x] 联网的GPT\n\n## 应用场景\n\n我们 的AI助手适用于以下场景：\n\n- 企业用户：结合公开外发客户的产品手册，解答产品问题，优化客服成本。\n- 保险行业：结合保险条款内容，解答客户关于保险相关信息，推荐客户更合适保险产品。\n- 教育行业：结合常见题库、文本，作为私人家教。\n\n## 目标群体\n\n- 个人部署\n- 商业部署\n- 企业部署\n- 团队部署\n\n## 系统演示\n\n![操作演示](docs/操作演示.gif)\n\n### 项目截图\n\n#### 用户登录\n\n![用户登录](docs/登录页面.png)\n\n#### 用户注册\n\n![用户注册](docs/注册页面.png)\n\n#### 主页面\n\n![主页面](docs/聊天界面.png)\n\n#### 会话上下文设置\n\n![会话上下文设置](docs/上下文控制.png)\n\n#### 会话角色控制\n\n![会话角色控制](docs/角色切换.png)\n\n#### 用户充值与邀请\n\n![充值](docs/充值功能.png)\n\n![邀请](docs/邀请.png)\n\n#### 基于本地知识库的问答\n\n![InceptorSQL调优](docs/inceptor调优.png)\n\n![设备配置咨询](docs/设备配置咨询.png)\n\n![MBA课程案例分析](docs/MBA课程案例.png)\n\n## 待实现列表\n\n- [ ] 系统后台日志管理\n- [ ] 系统后台管理界面\n- [ ] 用户系统设置模块\n- [ ] 自定义敏感词\n- [ ] 联网插件功能\n- [ ] 自定义AI角色页面\n- [ ] 文档上传问答\n- [ ] 语音问答\n\n## 安装部署\n\n### 前置条件\n\n#### 启动后端API进程\n\n参考后端项目安装部署 [安装部署](https://github.com/wooveep/chatserver-api#%E5%AE%89%E8%A3%85%E9%83%A8%E7%BD%B2)\n\n### 前端项目启动\n\n#### 编译部署\n\n##### 前置要求\n\n Node\n\n`node` 需要 `^16 || ^18 || ^19` 版本（`node \u003e= 14` 需要安装 [fetch polyfill](https://github.com/developit/unfetch#usage-as-a-polyfill)），使用 [nvm](https://github.com/nvm-sh/nvm) 可管理本地多个 `node` 版本\n\n```shell\nnode -v\n```\n\nPNPM\n如果你没有安装过 `pnpm`\n\n```shell\nnpm install pnpm -g\n```\n\n##### 克隆项目并安装依赖\n\n```shell\ngit clone  https://github.com/wooveep/chatserver-web.git\ncd chatserver-web\npnpm install\n```\n\n##### 运行网页\n\n根目录下运行以下命令\n\n```shell\npnpm dev\n```\n\n##### 打包dist\n\n```shell\nvite build \n```\n\n##### 打包docker\n\n```shell\ndocker build -t chatserver-web . \n```\n\n#### docker方式启动\n\n获取docker镜像\n\n```shell\n docker pull  wooveep/chatserver-web:latest \n```\n\n启动项目：\n\n```shell\ndocker  run   -p 18088:80 -e \"WEB_URL=域名\" -e \"Back_IP=后端APIIP地址\"      wooveep/chatserver-web:latest\n```\n\n## License\n\nMIT © [Cloudyi Li](https://github.com/wooveep/chatserver-api/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwooveep%2Fchatserver-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwooveep%2Fchatserver-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwooveep%2Fchatserver-web/lists"}