94 Star 1.5K Fork 491

超级AI大脑 / springboot-openai-chatgpt

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

温馨提醒

  1. 亲,动动您发财的手为我们点一颗star,是对我们最好的鼓励和支持,也是我们前进的动力
  2. 本项目是一个微服务全栈项目,认真刻苦的掌握它,你会对微服务有深刻理解
  3. 发现有问题?添加下方微信客服一起探讨,或者直接提Issues
  4. 演示环境

    前端:http://www.mj.ink

    后端:http://gpt.ht.mj.ink:8899

    技术社区 http://doc.mj.ink

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

超级AI大脑产品架构图

项目关系

本项目基于Bladex开源版本3.7.1.RELEASE开发

演示环境

    后端:http://gpt.ht.mj.ink:8899

    前端:http://www.mj.ink

在线体验

  1. Web端在线体验地址(点击图片可访问):http://www.mj.ink

  2. 微信关注超级AI大脑公众号及手机扫码下载App

微信公众号 Android IOS
微信公众号 Android IOS
  1. 新用户第一次登录即为注册,可微信进行登录。如图:

1.项目简介

本git地址为超级AI大脑的开源代码地址,可下载运行。超级AI大脑已经上线,PC端和APP端都可以体验完整的功能。欢迎使用! 超级AI大脑使用gpt技术,能快速生成语言内容,例如文案、情书和题目。用户只需输入关键词,可提高工作效率和创造力。超级AI大脑能够结合gpt的强大的问答系统和知识图谱,为用户提供全面、准确的答案。不仅能够回答简单问题,还能够针对复杂的问题给出详细的解答。问超级AI大脑支持编程全能,利用gpt生成代码,帮助用户减少编程工作量。此外,超级AI大脑能随着地球数据增长不断强化自身能力,提供更优秀的智能应用。

1.1App前台展示

1.2PC端界面展示

聊天页
绘画广场
PC端绘画界面
PC端绘画生成
## 2.主要功能点展示

2.1 AI聊天工具箱

在AI大脑的首页界面,有可以看到AI大脑提供的工具按钮,AI大脑提供了人工智能在人们生活中的不同场景下的应用工具,工具板块可大致分为教师、百科、生活、娱乐等领域,每个领域下面还会有不同的划分。功能如图所示:

2.2 AI绘图

AI大脑软件中的绘图板块是一项非常吸引人和有趣的功能。它使用了高级人工智能技术,让用户能够轻松地将他们的想象力转化为艺术品。绘图板块为用户提供了丰富的实用功能,用户可基于功能随心所欲生成您想要的各种各样的图片,如果您有创意,那么AI绘画将是您很好的创意实现工具!

绘图板块分为创作、社区、我的,下面对绘图板块三部分分别展开进行介绍:

创作部分,用户可基于文字描述生成图片或者基于用户上传的图片再根据用户选择的图片风格生成类似的图片。用户基于文生图时,用户可输入文字描述、选择图片比例、图片生成数量、AI大脑提供的不同类别风格为用户生成精美的图片。功能展示如图:

**社区部分**,用户发布的作品将在社区中根据作品热度进行排序展示,用户可点击进行观赏、创作同款、生成海报,用户点击分享可下载图片以及分享到朋友圈。功能展示如图:

我的部分,用户可在此部分进行签到获取积分以及查看历史作品、发布作品、点赞作品等

2.3 AI画廊展馆

P1分类:通用   风格:自定义   比例:1:1   尺寸:512*512   生成数量:3张
文字描述:杰作 高质量 少女
P2分类:通用   风格:自定义   比例:1:1   尺寸:512*512   生成数量:3张
文字描述:卡通少女
P3分类:通用   风格:漫画   比例:1:1   尺寸:512*512   生成数量:3张
文字描述:卡通猫咪
P4分类:通用   风格:写实主义   比例:1:1   尺寸:512*512   生成数量:3张
文字描述:鲜花
P5分类:中国风   风格:国画   比例:1:1   尺寸:512*512   生成数量:3张
文字描述:中国山水画
P6分类:场景   风格:史诗大片   比例:1:1   尺寸:512*512   生成数量:3张
文字描述:机器人
P7分类:场景  风格:赛博朋克   比例:1:1   尺寸:512*512  
文字描述:赛博朋克世界的人

2.4后台数据

2.5后台展示

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

3.低代码开发平台

使用本系统的朋友们,在这里需要重点提及一下,在后台里的研发模块为MJ科技提供的一个低代码开发平台,旨在简化表单开发、表单设计,开发人员可专注于业务逻辑实现、提高开发效率。

3.1 online在线开发

表单开发,其作用为在线生成表单,项目中所有涉及到的业务表的新增或修改需要在此菜单中统一进行。并且代码中有提供专门的工具类操作数据库,参考以下步骤熟悉后可自由进行开发。

操作示例图:

3.2 App在线开发

研发模块中的表单设计:拖曳式快速生成App。

示例图:

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

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

4.1.1环境配置

运行环境:JDK1.8

开发工具: Idea、Maven

默认已启动中间件:Nacos2.0.0++Mysql8.0Redis

如果觉得以上麻烦,推荐使用宝塔集成了Mysql,Redis:宝塔

4.1.2后端代码运行

第一步:下载BLade 3.7.1.RELEASE
第二步:拉取超级AI大脑mng项目
第三步:把超级AI大脑的mng覆盖Blader3.7.1
第四步:运行Blader3.7.1

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

下载BLade 3.7.1.RELEASE解压后,把图片中选中的文件复制到blade项目中,选择**覆盖**操作。

image-20240425174613986

复制后的项目结构:

image-20240425174938524

总共有5个服务需要启动,为GateWayApplication,AuthApplication,SystemApplication,UserApplication,MjkjApplication,其他服务可选择删除。

Naco下载

链接:https://pan.baidu.com/s/1TC89DNq2-w7u7Fr6r6BoYw?pwd=mjkj

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

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

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

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

image-20240425175152653

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

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

4.2.1项目前端前台代码运行

运行环境: node12.13.0

开发工具:VsCode

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

4.2.2项目前端后台代码运行

后台运行环境: node12.13.0

开发工具: VsCode

第一步:下载Saber3.7.1
第二步:拉取超级AI大脑mng_web项目
第三步:把超级AI大脑的mng_web项目覆盖Saber3.7.1
第四步:运行Saber3.7.1

把图片中选中的文件复制到Saber项目中,选择覆盖操作。

image-20240426095531018

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

image-20240426095639926

成功运行:

image-20240426095607719

客服微信与技术讨论群(广告勿扰):

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.

简介

一个基于SpringCloud的Chatgpt机器人,已对接GPT-3.5、GPT-4.0、百度文心一言、stable diffusion AI绘图、Midjourney绘图。用户可以在界面上与聊天机器人进行对话,聊天机器人会根据用户的输入自动生成回复。同时也支持画图,用户输入文本,便可以自动制作文生文生图。持续更新中,更多功能等着你来解锁 展开 收起
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/ylzl/springboot-openai-chatgpt.git
git@gitee.com:ylzl/springboot-openai-chatgpt.git
ylzl
springboot-openai-chatgpt
springboot-openai-chatgpt
master

搜索帮助