1 Star 0 Fork 531

杨灿 / springboot-openai-chatgpt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0
🕙 分享是一种美德,右上随手点个 🌟 Star,谢谢

温馨提醒

  1. 本项目仅适用学习交流,并且不提供无偿的 维护修改服务(但可提issue)

  2. 本项目不在任何平台出售,如有发现请积极举报

  3. 为了更好的体验,友情提示此项目是一个全栈项目,认真刻苦的掌握它,熟练掌握后你就比较牛掰了

  4. 不要只是白嫖 ,如果帮到你了麻烦点个Star

  5. 发现有问题?添加下方微信客服一起探讨,或者直接提Issues

在线体验

1.超级AI大脑项目简介

超级AI大脑是一款智能软件,提供文案创作、画图制作、答题解惑、写情书、编程全能等多种功能,为用户提供便捷高效的AI智能体验。本git地址为超级AI大脑部分功能的开源代码地址,可下载运行。超级AI大脑已经上线,PC端和APP端都可以体验完整的功能。欢迎使用!

1.1功能概况

1、超级AI大脑使用chatGPT技术,能快速生成语言内容,例如文案、情书和题目。用户只需输入关键词,可提高工作效率和创造力。
2、超级AI大脑能够结合chatGPT的强大的问答系统和知识图谱,为用户提供全面、准确的答案。不仅能够回答简单问题,还能够针对复杂的问题给出详细的解答。
3、问超级AI大脑支持编程全能,利用chatGPT生成代码,帮助用户减少编程工作量。此外,超级AI大脑能随着地球数据增长不断强化自身能力,提供更优秀的智能应用。

1.2超级AI大脑APP下载链接

新用户第一次登录即为注册,可在PC端体验或者下载APP端体验。

如图:

1.3超级AI大脑前台展示

APP端前台

1.3.1 AI生成艺术图片

  **AI大脑软件中的AI绘画功能是一项非常吸引人和有趣的功能。它使用了高级人工智能技术,让用户能够轻松地将他们的想象力转化为艺术品。使用这个功能,用户只需要输入一些简单的指令,如绘画的主题、细节和风格等,即可迅速地生成一份令人惊叹的绘画作品**
  这项绘画功能是基于chatGPT接口的,它允许用户自由地进行创作,无论是想让自己的绘画像写实作品一样还是想尝试不同的抽象风格,都可以轻松做到。AI绘画功能拥有出色的图像处理功能,可以让用户创建具有高度真实感和细节的作品。
  综上所述,AI大脑软件的AI绘画功能是一项令人惊叹的创新技术,能够帮助用户将他们的创意变为现实。同时,软件中还有其他众多强大的人工智能技术,可以以各种方式帮助用户实现更多的目标和愿望。趁着这个机会来尝试一下AI大脑吧!

通过绘画、生成等关键词发出绘画指令,操作示例图:

AI画廊展馆:

P1 古风美女:"问纤腰如柳,飘逸生姿。盈盈眸中承星月,繁花似锦绘眉尖。醉人容颜神仙醉,洛城才女两相宜。梦里寻觅千年恋,清风吹散烟花意。"
P2 动漫奇异动物:“在这里,你可以看到从古老传说中走出的神兽,还有充满智慧的人形动物。林间的小鹿,山间的狼群,田间的野兔,都栩栩如生地展现在你的面前。这是一个神奇而充满想象力的世界,等待着你去探索。”
P3 动漫人物:"各种光怪陆离、奇异的动漫人物"
P4 AI抽象艺术:"AI生成具有独特艺术氛围的绘画,山水、屋舍、小桥"

1.4超级AI大脑后台数据

1.5超级AI大脑后台展示

用户管理、微信机器人、商品管理、更多好玩管理

2.开源项目完整运行步骤

2.1超级AI大脑架构图

2.2开源项目结构

SpringBoot-Openai-ChatGpt
├── chatgpt_http -- 对接chatgpt接口转发
├── chatgpt_uniapp -- 超级AI大脑uniapp端
├── doc -- 文档说明
├── mng -- 后台服务
	├── blade-auth -- 授权服务提供
	├── blade-common -- 常用工具封装包
	├── blade-gateway -- Spring Cloud 网关
	├── blade-plugin -- 增加的业务模块
	├    ├── mjkj-bladex -- 主要业务模块(本项目主要开发)
	├    ├── mjkj-message -- 消息模块
	├── blade-plugin-api -- 增加的业务模块api封装
	├── blade-service -- 业务模块
	├    ├── blade-system -- 系统模块 
	├    └── blade-user -- 用户模块 
	├── blade-service-api -- 业务模块api封装
	├── mjkj-common -- 自定义封装工具类
├── mng-web -- 后台服务界面

2.3开源项目后端代码运行步骤

2.3.1环境配置

运行环境:JDK1.8

**开发工具:**Idea、Maven

默认已启动中间件:NacosMysql8.0RedisMinio

配置及获取 flagstudioToken: flagstudio

如果觉得以上麻烦,推荐使用phpStudy简化环境配置:phpstudy

2.3.2后端代码运行

通过git拉取代码到本地后,项目结构如图:

因为本项目依赖BladeX框架而搭建,因此在项目正式运行之前,我们需要再检查一遍本项目的正确maven路径,而后导入bladex-tool(本项目版本为2.9.1)工具包。

而后我们还需要配置nacos文件,打开nacos,创建chatgpt_open命名空间,并且分别配置blade.yaml、

blade-dev.yaml文件,如图:(在这里关于一些中间件的地址已有示例,具体还需与个人本地的地址相对应进行配置)

关于blade.yaml文件、lade-dev.yaml文件以及相关工具包请阅读本项目中的doc文件夹。

在配置完成后,根据下图提示配置本地项目中nacos地址,使项目加入nacos管理,如图:

配置好nacos后分别在项目中启动以下6个服务,并能被nacos正常访问到,如图:

至此,后端代码运行成功!

2.4开源项目前端代码运行步骤

2.4.1项目前端前台代码运行

**前台运行环境:**无需配置node.js

**开发工具:**HBuilder X

官方下载对应软件HBuilder X,安装步骤非常简单,如图:

官方地址:Windows - HBuilderX 文档 (dcloud.net.cn)

通过提供的git地址拉取代码到本地后,将下载好的项目文件夹拖曳到打开的HBuilder X下,项目结构如图:

其中,需要注意网关地址是否与nacos中对应网关服务显示地址一致,如图:

运行项目,选择使用chorm运行项目,如图:

进入页面需要认证,输入123456即可。

2.4.2项目前端后台代码运行

后台运行环境: node12.13.0

开发工具: vscode

通过git拉取代码到本地,在配置好node.js环境的前提下,使用vs打开文件夹,运行命令npm i, npm run serve启动项目,如图:

成功运行:

加入讨论群

添加客服微信

chatgpt应用场景及生态分析

Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

一个基于Spring Boot的Web应用,使用了OpenAI的ChatGPT模型实现了智能聊天机器人。用户可以在界面上与聊天机器人进行对话,聊天机器人会根据用户的输入自动生成回复。同时也支持画图,用户输入文本,便可以自动制作文生文生图。未来会接入:文心一言、通义千问、MOSS等国产AI大模型,持续更新中,更多功能等着你来解锁 展开 收起
Java
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/snomyc/springboot-openai-chatgpt.git
git@gitee.com:snomyc/springboot-openai-chatgpt.git
snomyc
springboot-openai-chatgpt
springboot-openai-chatgpt
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891