极速、便捷!一个接入 AI 的匿名在线即时聊天室!
大家好,我是 Java陈序员。之前给大家推荐过一款基于 livekit 和 Next.js 的匿名聊天室。
本日,再给大家先容一个便捷开源的匿名在线聊天室,支持 AI 功能!
关注微信公众号:【Java陈序员】,获取开源项目分享、AI副业分享、超200本经典计算机电子书籍等。
项目先容
AQChat —— 一个已接入 AI 的极速、便捷的匿名在线即时 AI 聊天室。基于 Netty 以及 protobuf 协议实现高性能,对标游戏后端开辟。
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/AQChat/img-20241019145409.png
功能特色:
[*]对标游戏后端开辟,采用 Netty 作为通讯框架,支持高并发、高性能的即时通讯
[*]全程无需 HTTP 协议,支持文本、图片、文件、音频、视频的发送和接收
[*]消息提醒
[*]消息撤回重新编辑
[*]艾特成员
[*]AI 助手
已接入 AI 大模子:
模子名称模子类型平台模子描述通义千问 MAX文本大模子阿里百炼通用对话模子,适用于多轮对话llama3-70b-chinese-chat文本大模子Gitee AI通用对话模子,适用于多轮对话stable-diffusion-3-medium文生图大模子Gitee AI可通过文本描述生成图片ChatTTS文本转语音大模子Gitee AI可通过文本转换成语音Qwen2-72B-Instruct文本大模子Gitee AI通用对话模子,适用于多轮对话项目截图
注册用户
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/AQChat/img-20241019145506.png
主页
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/AQChat/img-20241019145518.png
创建房间
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/AQChat/img-20241019145531.png
加入房间
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/AQChat/img-20241019145623.png
聊天室
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/AQChat/img-20241019145730.png
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/AQChat/img-20241019145939.png
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/AQChat/img-20241019150056.png
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/AQChat/img-20241019150153.png
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/AQChat/img-20241019150349.png
AI 空间
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/AQChat/img-20241019150936.png
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/AQChat/img-20241019151057.png
https://chen-coding.oss-cn-shenzhen.aliyuncs.com/create-center/AQChat/img-20241019151510.png
快速上手
情况依赖
[*]JDK:17
[*]Netty:4.1.89.Final
[*]SpringBoot:3.2.5
[*]Mybatis-Plus:3.5.5
[*]Protobuf:3
[*]MySQL:8.0.34
[*]Redis:6.0.8
[*]RocketMQ:4.4.0
[*]OSS:阿里云OSS
服务端
1、克隆代码
git clone https://gitee.com/howcode/aq-chat-server.git2、项目布局
aq-chat-server
├── aqchat-ai ------------- AQChat 项目 AI 功能模块,负责接入 AI 大模型
├── aqchat-common --------- AQChat 项目公共模块,包含一些工具类和常量
├── aqchat-framework ------ AQChat 项目框架模块,包含对中间件的封装和配置
├── aqchat-im ------------- AQChat 项目 IM 核心模块,负责通讯协议以及和前端的连接
└── aqchat-service -------- AQChat 项目业务逻辑层,包含业务逻辑的实现3、将项目以 Maven 工程的形式导入到 IDEA
4、创建数据库 aqchat
CREATE DATABASE `aqchat` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;5、在数据库 aqchat 中执行 aq-chat-server/sql/ 目录下的 aqchat.sql 脚本文件初始化数据库数据
6、修改 aq-chat-server/aq-chat-im/src/main/resources 目录下配置文件application.yml 中的 MySQL、Redis、RocketMQ、OSS 的连接信息
7、运行主启动类 com.howcode.aqchat.AQChatApplication 启动服务
Web 端
# 克隆代码
git clone https://gitee.com/howcode/aq-chat.git
# 进入 Web 端目录
cd aq-chat
# 安装依赖
npm install
# 启动服务
npm run dev
# 浏览器访问
http://localhost:5173/移动端
# 克隆代码
git clone https://gitee.com/ghosthhf/aqchat-mobile.git
# 进入移动端目录
cd aqchat-mobile
# 安装依赖
npm install
# 在 HBuilder X 中打开项目并运行AQChat 作为一款匿名的在线聊天室,利用起来非常便捷!而且与时俱进,支持 AI 对话,接入了多个 AI 大模子!
快去安装体验吧~
项目地址:https://gitee.com/howcode/aq-chat-server最后
推荐的开源项目已经收录到 GitHub 项目,欢迎 Star:
https://github.com/chenyl8848/great-open-source-project或者访问网站,举行在线欣赏:
https://chencoding.top:8090/#/https://chen-coding.oss-cn-shenzhen.aliyuncs.com/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20240629100336.png
大家的点赞、收藏和批评都是对作者的支持,如文章对你有帮助还请点赞转发支持下,谢谢!
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]