Commit Graph

374 Commits

Author SHA1 Message Date
RockYang
01205af018 feat: 支持文心4.0模型,不同的用户可以订阅不同的AI模型 2023-10-26 13:41:49 +08:00
RockYang
5b5150e6d4 feat: add system configration item to close rewarding function 2023-10-19 11:19:29 +08:00
RockYang
99ede83bdc chore: set app list page as the index page 2023-10-16 14:20:44 +08:00
RockYang
a80d01209c opt: adjust styles for ItemList component, cut string for chat role's hello message 2023-10-16 10:46:10 +08:00
RockYang
d2a8d655c8 feat: finish adding chat role to user function 2023-10-16 06:56:42 +08:00
RockYang
80e2b34abc opt: adjust ItemList component styles 2023-10-15 15:47:42 +08:00
RockYang
fb3d43d2d5 opt: optimize imgae loading for image wall page, loading thumb image replace source image 2023-10-13 23:07:41 +08:00
RockYang
ebdec4fa44 feat: create chat app list page, build the layout of page 2023-10-13 18:05:40 +08:00
RockYang
ead8dbbaa5 feat: auto login when register successfully 2023-10-13 16:27:40 +08:00
RockYang
75487b1f58 Merge branch 'main' into image-wall 2023-10-13 15:39:34 +08:00
RockYang
c7daaa00cd feat: image wall stable diffusion image list component is ready 2023-10-13 15:16:40 +08:00
RockYang
606f24e981 feat: optimize the midjourney image list styles 2023-10-13 11:14:39 +08:00
RockYang
c83d9287a7 docs: update readme, database files 2023-10-13 09:59:05 +08:00
RockYang
a21628e350 style: fix style for update chat title input element 2023-10-13 06:29:25 +08:00
RockYang
9fcd686fda feat: image wall page is ready 2023-10-12 18:09:50 +08:00
RockYang
1759fd4cf9 opt: close websocket connection when finish a chat call for XunFei API 2023-10-12 10:02:12 +08:00
RockYang
ff349f2edf feat: adjust package struct, put chat code the seperate 'chatimpl' package, fix bug: baidu api chat context number must be even number 2023-10-11 15:46:40 +08:00
RockYang
088d8ca207 feat: add system configration for enable/disable funciton in chat session 2023-10-11 14:35:47 +08:00
RockYang
c37902d3a4 finish baidu ai model api implementation 2023-10-11 14:21:16 +08:00
RockYang
da38684cdd add baidu ai model api configrations 2023-10-10 18:19:56 +08:00
RockYang
c8136d4231 doc: update database sql file 2023-10-08 20:44:55 +08:00
RockYang
e4b8380530 docs: udpate readme and config.toml template 2023-10-08 18:09:46 +08:00
RockYang
fbd599194c feat: add system config item for reward image, add app config item to use custom text2img param json file 2023-10-08 17:48:50 +08:00
RockYang
79e342be57 optimze the style for stable diffusion image dialog 2023-10-08 11:39:55 +08:00
RockYang
c89f23b018 feat: stable diffusion page function is ready 2023-10-06 22:25:37 +08:00
RockYang
c5776ce41f feat: stable diffusion page is ready 2023-09-28 18:09:45 +08:00
RockYang
c1143d7a6d fix: fixed bug for register error with parse args 2023-09-26 09:30:18 +08:00
RockYang
f3697431a4 fix: fixed bug for add user in admin console page that calls and img_calls parameter not work 2023-09-22 18:15:32 +08:00
RockYang
e3d6e5f420 feat: the upload handler for AliYun OSS is ready 2023-09-22 09:56:45 +08:00
RockYang
af6f7a7146 docs: adjust ui styles for mj image page 2023-09-20 14:33:15 +08:00
RockYang
fa42d03a65 some page ui optimization, add release v3.1.3 2023-09-20 11:39:11 +08:00
RockYang
22f7de2c09 fix socket connect for mj task notify 2023-09-20 06:59:30 +08:00
RockYang
b4b9df81cb opt: add sessionId for mj task 2023-09-19 18:15:08 +08:00
RockYang
2a71c2b0e7 feat: mj advance drawing page function is ready, use better task scheduling argorithm 2023-09-17 18:03:45 +08:00
RockYang
c37b3d3df5 feat: add task type params for add new mj task 2023-09-16 14:01:53 +08:00
RockYang
ae135b89d6 feat: adjust UI for task list page 2023-09-15 18:16:59 +08:00
RockYang
4112426848 feat: midjourney page task and image list component is ready 2023-09-15 17:40:39 +08:00
RockYang
638b399b31 feat: midjourney page parameter ui is ready 2023-09-14 18:28:24 +08:00
RockYang
8a5713ef7c feat: finish mj model layout 2023-09-14 06:55:03 +08:00
RockYang
382d7bfaa1 feat: add ImageMj page view 2023-09-13 18:04:31 +08:00
RockYang
944d35971d feat: chat chrawing function is refactored 2023-09-13 06:57:25 +08:00
RockYang
9ce8af0b82 feat: refactor MidJourney service for conpatible drawing in chat and draw in app 2023-09-12 18:01:24 +08:00
RockYang
9afe4aea4b feat: new WebUI for the main page, add MJ and SD drawing function pages 2023-09-11 16:22:11 +08:00
RockYang
3cc8c3284a opt: optimize the styles of chat page; caculate all tokens of context as chat history's token 2023-09-11 13:34:20 +08:00
RockYang
e2c18c4e1e chore: update gpt avatar 2023-09-10 12:02:37 +08:00
RockYang
81fe768f6a opt: refactor the web page's router and layout 2023-09-08 22:14:58 +08:00
RockYang
0e31726fd3 fix: remove username and nickname field for updating user info 2023-09-07 15:41:01 +08:00
RockYang
c12fe9f25e adjust home page styles 2023-09-07 15:12:43 +08:00
RockYang
9bd83f3acf use absolute path for all routes 2023-09-07 10:27:18 +08:00
RockYang
6a2d383be6 feat: extract css to a single file, add chat_id path variable support 2023-09-07 09:29:16 +08:00
RockYang
e3d18643b8 opt: clear space in the reward transfer number 2023-09-06 17:09:55 +08:00
RockYang
2f318bbe9f feat: add QiNiu OSS storage implements 2023-09-06 14:37:13 +08:00
RockYang
fac7eb61b3 remove username search for console user list page 2023-09-05 17:52:46 +08:00
RockYang
e4e7868b30 fix: 采用弹窗的方式显示验证码,解决验证码在低分辨率下被掩盖的Bug 2023-09-05 16:47:40 +08:00
RockYang
c38035e25e fix: replace session handler with jwt authorization 2023-09-05 11:47:03 +08:00
RockYang
8d4fdaf902 refactor: refactor mobile pages for the chat model updating 2023-09-04 18:15:56 +08:00
RockYang
2820adad53 feat: allow user to set custom api keys for different platforms 2023-09-04 17:34:29 +08:00
RockYang
f7a427d2c0 refactor: refactor chat model, replace mode value with mode id. refactored system config module, add seperate configration for every chat model 2023-09-04 16:32:20 +08:00
RockYang
59ed8c9660 refactor: refactor chat_handler, add support for Azure and ChatGLM 2023-09-04 06:43:15 +08:00
RockYang
88c13e7b9a opt: optimize element ui dialog styles, make it to the center of screen 2023-08-22 08:57:14 +08:00
RockYang
596baac62e opt: upgrade element-plus to 2.3.0, optimize the styles for for element dialog 2023-08-22 07:14:13 +08:00
RockYang
5a8503ec14 chore: remove debug codes 2023-08-21 10:55:49 +08:00
RockYang
473d8f5f85 feat: add minio service implementation, download midjourney image to local storage 2023-08-20 16:17:42 +08:00
RockYang
08d8d65599 opt:Optimize the algorithm to check whether Midjourney images can continue to variation 2023-08-17 14:20:16 +08:00
RockYang
75ab8552d9 chore: show img_calls num for user profile page 2023-08-17 07:09:53 +08:00
RockYang
b78d5b3d03 docs: update docs 2023-08-17 06:55:11 +08:00
RockYang
064081c771 feat: add authorization for MidJourney function calls 2023-08-16 23:16:44 +08:00
RockYang
9d9ee7c585 opt: unset timeout for websocket connection 2023-08-15 18:29:53 +08:00
RockYang
e65c32c4c7 feat: midjourney image variation function is ready 2023-08-15 17:31:02 +08:00
RockYang
113769791f feat: midjourney image upscale function is ready 2023-08-15 15:28:40 +08:00
RockYang
5d2a1d21d5 feat: midjourney drawing image function is ready 2023-08-14 17:59:21 +08:00
RockYang
5db247e632 feat: add samples and function introduce in welcome page 2023-08-08 14:19:09 +08:00
RockYang
c1155a4338 docs: add dashboard image 2023-08-07 20:07:05 +08:00
RockYang
da806b9492 feat: enabled user to set default GPT model for chat 2023-08-04 14:25:54 +08:00
RockYang
3d6d46b30d feat: chat export function is ready 2023-08-04 12:08:07 +08:00
RockYang
57c69738ba feat: add chat export button 2023-08-03 18:24:30 +08:00
RockYang
0c8157dbc0 feat: add rewards statistic in dashboard page 2023-08-03 10:19:37 +08:00
RockYang
d7b278f2f7 opt: add enabled_msg_service config var to system config database 2023-08-03 10:04:45 +08:00
RockYang
e04856f794 opt: optimize the layout for regiseter page. add function to disable registration 2023-08-02 17:44:13 +08:00
RockYang
d7bbfb0fc3 feat: the dashboard page is ready for admin console 2023-08-02 16:37:47 +08:00
RockYang
a0857817de refactor: refactor admin console page layout 2023-08-02 15:00:18 +08:00
RockYang
8d39234fd0 fix: fixed bug for chat request's token reach the max token limit for OpenAI 2023-08-01 17:58:03 +08:00
RockYang
0fce1c0fd8 feat: new function for add user in manger console user list page 2023-08-01 16:02:49 +08:00
RockYang
55459a4f42 opt: optimize the build script and docker-compose yaml file 2023-07-31 17:31:02 +08:00
RockYang
a32cb0142b feat: allow user to login with username and mobile no 2023-07-27 15:37:50 +08:00
RockYang
ae79c34508 fix: fix bug for mobile verify code function not available in register page 2023-07-27 10:29:59 +08:00
RockYang
7eb69c1ad7 style: adjust reward image styles 2023-07-26 17:57:19 +08:00
RockYang
8aaff0af89 chore: optimize build script, compress reward img 2023-07-26 17:48:16 +08:00
RockYang
4b77280c65 feat: add reset password function to user list page 2023-07-26 15:22:11 +08:00
RockYang
9bee2a90f9 feat: 完成人机交互验证 API 接入,增加短信防刷验证 2023-07-25 17:00:24 +08:00
RockYang
cd6a811bbd feat: 头条,微博热搜等函数 API 实现 2023-07-25 15:02:43 +08:00
RockYang
84f9a83f55 opt: 取消强制手机号验证,更新配置 2023-07-24 18:18:09 +08:00
RockYang
2efc669ab2 feat: 完成众筹后台管理功能 2023-07-24 15:59:29 +08:00
RockYang
b73092eb64 feat: reward verify is ready 2023-07-21 22:29:14 +08:00
RockYang
aa28f87b0c feat: 增加打赏核销功能 2023-07-21 18:26:51 +08:00
RockYang
d014d418e9 feat: 支持上下文深度配置,计算每轮对话消耗的总 token 数量 2023-07-15 18:37:25 +08:00
RockYang
cc1b56501d refactor: 更改 OpenAI 请求 Body 数据结构,兼容函数调用请求 2023-07-15 18:00:40 +08:00
RockYang
a5ad9648bf chore: small fixs 2023-07-14 18:00:01 +08:00
RockYang
5d0b0ad33e opt: add tip message when no available key 2023-07-06 10:47:36 +08:00
RockYang
ae255a3bd9 fix: 取消 ElMessage 的 appendTo 属性,防止被 Dialog 组件覆盖 2023-07-04 17:59:55 +08:00
RockYang
fa733afa51 opt: 优化验证码发送逻辑,加入防刷验证 2023-07-04 17:15:02 +08:00
RockYang
440169ff60 feat: 短信验证码功能已完成,手机端同步实现。 2023-07-03 15:18:15 +08:00
RockYang
1fc361242e opt: 将短信发送按钮封装成组件 2023-07-03 06:55:15 +08:00
RockYang
72cc6f3d75 feat: 注册短信验证码验证功能已经开启 2023-07-02 20:51:13 +08:00
RockYang
32484bd32e feat: 增加用户 token 消耗统计功能 2023-07-01 23:29:24 +08:00
ly307787186
7b8cbf7f86 Update Setting.vue
关掉aip-key 必需的验证
2023-06-30 13:20:30 +08:00
RockYang
3f2ef1d54e fix: 修正前端 user_init_call 字段错误和用户注册初始化头像路径问题 2023-06-28 20:01:44 +08:00
RockYang
0d2b60b905 fix: 修复 PC 端聊天界面滚动条问题 2023-06-28 18:16:28 +08:00
RockYang
5d13b4b705 docs: 更新文档,新增移动端预览图 2023-06-27 14:28:00 +08:00
RockYang
92e52a2284 fix: 修复 markdown 换行符不解析的 Bug,修复新发布的模型 token 统计失败错误 2023-06-27 14:18:20 +08:00
RockYang
3efd5fb77a feat: vue-mobile => 完成用户信息修改功能,前后端都添加文件上传功能。 2023-06-27 12:11:55 +08:00
RockYang
c3d62bb8d8 feat: vue-mobile => 完成移动端聊天配置功能 2023-06-26 18:18:45 +08:00
RockYang
c099e843d5 feat: vue-mobile => 完成会话聊天页面功能,增加主题切换功能 2023-06-26 16:39:00 +08:00
RockYang
5f3a5871f1 feat: vue-mobile => 优化聊天记录拍版样式 2023-06-25 18:21:38 +08:00
RockYang
f01fdd0070 feat: vue-mobile => 完善移动端聊天列表页功能 2023-06-25 17:01:04 +08:00
RockYang
32ac454b5b opt: 优化前端登录判断逻辑 2023-06-25 09:46:23 +08:00
RockYang
2cadd6af44 feat: chat list page for mobile is ready 2023-06-25 06:53:22 +08:00
RockYang
3c8b5cb313 feat: 完成移动端前段框架搭建 2023-06-24 11:45:26 +08:00
RockYang
fcf2387794 style: 调整聊天侧边栏样式 2023-06-23 18:31:50 +08:00
RockYang
f9783b4806 opt: 优化 docker-compse 构建脚本,修复后端路由 Bug 2023-06-23 18:04:16 +08:00
RockYang
124554bae5 opt: 抽离 session 验证函数,修正前端路由覆盖 bug 2023-06-23 06:31:25 +08:00
RockYang
beeef7a4f7 docs: 增加 docker-compose 部署支持 2023-06-22 22:14:18 +08:00
RockYang
a7d5a6ccb9 style: 调整后台管理框架样式 2023-06-21 18:44:18 +08:00
RockYang
be3380aaf3 refactor: 更新 iconfont 图标,增加打赏二维码弹窗 2023-06-21 15:34:38 +08:00
RockYang
40a4ab5410 refactor: refactor the frame layout of admin module 2023-06-21 14:22:28 +08:00
RockYang
54a2181960 refactor: user login log list for admin is ready 2023-06-21 06:53:41 +08:00
RockYang
e490e15bc4 feat: API Key manage is ready 2023-06-20 18:05:33 +08:00
RockYang
469844d97b opt: optimize role sorting 2023-06-20 16:07:26 +08:00
RockYang
892ea29ba8 refactor: chat role manage for admin is ready 2023-06-20 11:46:13 +08:00
RockYang
acde1c6742 refactor: user remove is ready for console 2023-06-20 07:08:37 +08:00
RockYang
07da11d852 refactor: 管理后台用户编辑功能 is ready 2023-06-19 21:53:07 +08:00
RockYang
502b8c2270 refactor: 管理后台用户列表页面重构 2023-06-19 18:23:09 +08:00
RockYang
af3f7ac810 refactor: 完成管理后台的系统设置页面重构 2023-06-19 15:58:52 +08:00
RockYang
935c6caf96 feat: admin login page is ready 2023-06-19 11:09:23 +08:00
RockYang
90bce1d437 refactor: refactor controller handler module and admin module 2023-06-19 07:06:59 +08:00
RockYang
831dd3e2e0 style: optimize code styles 2023-06-18 15:17:59 +08:00
RockYang
b8e208eb32 style: optimize styles for change password page 2023-06-17 00:02:49 +08:00
RockYang
08529242bf style: add logo at login and register page 2023-06-16 18:14:43 +08:00
RockYang
7fd0b1fa08 feat: import iconfont styles, change password function is ready 2023-06-16 17:28:21 +08:00
RockYang
111572e3f2 fix: add lock map data structure, fixed bug for 'concurrent map writes' 2023-06-16 15:32:11 +08:00
RockYang
c9875d24b4 feat: add footbar for login and register page, add send button for chat page 2023-06-16 13:57:05 +08:00
RockYang
94a75603c3 chore: compress bg images 2023-06-16 11:14:45 +08:00
RockYang
0b5adcbfab fix: fixed bug for ssl websocket url 2023-06-16 10:00:05 +08:00
RockYang
136d159833 opt: add email and mobile validation for register 2023-06-15 15:09:00 +08:00
RockYang
e3026062d8 opt: automatic get the host for api and websocket from the 'location' var 2023-06-15 14:39:05 +08:00
RockYang
8a69c69b7f opt: update the main chat compnent after updating the user profile 2023-06-15 11:29:16 +08:00
RockYang
567cdc6f8d refactor: V3 版本重构已基本完成 2023-06-15 09:41:30 +08:00
RockYang
6096b65374 chore: 替换文字描述 用户 => 2023-05-09 14:30:09 +08:00
RockYang
0b6c6e6d2c docs: 完善文档 2023-05-06 16:27:44 +08:00
RockYang
4dcae75488 refactor: 重构项目目录结构 2023-05-06 11:35:57 +08:00
RockYang
21adfd441c 修复 ChatFree 重复刷消息的 Bug 2023-05-05 17:45:31 +08:00
RockYang
e60decedd4 修复重复推送打招呼信息的 Bug 2023-05-05 16:54:33 +08:00
RockYang
40bf2b5c1b 后台管理功能已完成 2023-05-05 15:45:40 +08:00
RockYang
868ddc1f37 Chat role manage page is reaady 2023-05-04 18:57:18 +08:00
RockYang
87b225eb4a User manager page is ready 2023-05-04 16:04:36 +08:00
RockYang
7a67af642d 用户列表功能完成 2023-05-03 21:59:19 +08:00
RockYang
fcfe0c7913 系统设置页面功能完成 2023-05-03 09:48:37 +08:00
RockYang
556abf5276 update the data struct of API KEYS 2023-05-02 12:06:02 +08:00
RockYang
523cd4d4c9 重新整理后台管理 API,新增系统管理页面 2023-04-28 16:15:46 +08:00
RockYang
525cd524ba 搭建好管理后台模板 2023-04-28 14:00:36 +08:00
RockYang
82d097cb4a add admin page and welcome page 2023-04-27 18:46:45 +08:00
RockYang
d2201596f6 fixed bug for ctrl + enter key start a new row 2023-04-23 15:00:51 +08:00
RockYang
54dccbef4c render <br> tag for ChatPlus page 2023-04-21 14:20:04 +08:00
RockYang
52398d9b8d 1. 优化 ChatFree 页面左侧会话列表展示逻辑
2. 渲染 Prompt 组件换行符
2023-04-21 14:15:23 +08:00
RockYang
d8bc0fe125 1. 发起 socket 连接时候传入 chatId 来区分会话。
2. Chat-Plus 界面新增复制回复内容按钮。
3. 优化 ChatFree 聊天会话切换和管理逻辑。
2023-04-21 11:21:41 +08:00
RockYang
00db78b446 change ACCESS_KEY header to ACCESS-KEY, add test env file 2023-04-20 18:13:05 +08:00
RockYang
296d83c3a1 optimize the logic for showing chat history 2023-04-20 11:56:33 +08:00
RockYang
efc1ea5d8b optimize the code for change chat session 2023-04-19 21:45:37 +08:00
RockYang
673cdada5a optimize the title for new chat, fixed bug for clear chat history 2023-04-19 19:14:34 +08:00
RockYang
c08cef0765 新增清空聊天记录和退出登录功能 2023-04-19 19:06:26 +08:00
RockYang
3e088cb76f 优化聊天样式 2023-04-19 18:07:38 +08:00
RockYang
a13c1bc669 the function to save user chat history is ready 2023-04-19 17:32:41 +08:00
RockYang
14a351b477 在进行 socket 连接前先关闭之前连接。实现新建会话功能。 2023-04-19 15:18:13 +08:00
RockYang
50ff591dbb 新增复制按钮图标来复制 ChatGPT 回复内容。Golang 后端实现为每个用户订阅聊天角色功能 2023-04-19 10:37:55 +08:00
RockYang
3bf83cd48c the sidebar drawer function is ready 2023-04-18 22:31:02 +08:00
RockYang
8733cdb981 新增免费版 ChatGPT 2023-04-18 17:56:20 +08:00
RockYang
5e0bfc778b 移除 vue-router URL 中的 # 号 2023-04-17 09:56:02 +08:00
RockYang
676457f350 add reply content to clipboard function is ready 2023-04-12 18:32:01 +08:00
RockYang
a88f55372c Optimize the UI of config dialoy 2023-04-12 09:02:39 +08:00
RockYang
aef3414928 fixed bug for re-generate response 2023-04-12 06:29:31 +08:00
RockYang
1db20959e7 The 'stop generate' and 'regenerate response' function is ready 2023-04-11 18:58:27 +08:00
RockYang
a2cf97b039 logout function is ready 2023-04-10 06:44:27 +08:00
RockYang
117f928b56 优化前端界面,新增注销功能 2023-04-09 23:34:16 +08:00
RockYang
5acd0290fa 优化聊天配置对话框样式 2023-04-08 12:09:40 +08:00
RockYang
02a1912bba The account set dialog is ready 2023-04-08 12:00:16 +08:00
RockYang
208655af5e 优化登录逻辑 2023-04-08 10:57:46 +08:00
RockYang
df9e587300 more chat role is ready, and add API to add new chat role 2023-04-08 09:39:03 +08:00
RockYang
df7d4d5b94 the new skin is ready 2023-04-07 19:26:24 +08:00
RockYang
5a6f070f92 新增 Plus 黑色风格模板 2023-04-07 17:58:11 +08:00
RockYang
b6d8465127 update web app name for package.json 2023-04-07 11:22:51 +08:00
RockYang
d8cb2c220e 首次登录失败的时候不显示网络连接异常 2023-04-06 08:47:52 +08:00
RockYang
a78fb83f30 优化 websocket 验证和断线重连 2023-04-04 10:32:52 +08:00
RockYang
b0be9f2e4d add qrcode for wechat group 2023-04-03 16:48:29 +08:00
RockYang
f32803deca optimize configuration dialog close action 2023-03-31 08:58:57 +08:00
RockYang
b7120b400a add test env build script 2023-03-30 22:49:32 +08:00
RockYang
7241e2e7ad fixed bug for code hightline 2023-03-30 10:53:00 +08:00
RockYang
d515e88d97 禁用 gin 打印日志 2023-03-29 21:44:44 +08:00
RockYang
bd41f742d2 添加微信和知识星球的推广二维码 2023-03-29 14:27:04 +08:00
RockYang
4e575d01db 优化用户聊天记录显示 2023-03-28 17:19:50 +08:00
RockYang
ebc2041e8a rename Token to User, the chat history function is ready 2023-03-28 16:03:41 +08:00