Commit graph

636 commits

Author SHA1 Message Date
ikechan8370
926f07c8e9 feat: 添加星火支持(beta) 2023-05-12 20:11:08 +08:00
HalcyonAlcedo
76f0328a8e
Fix:修复Live2D的错误,重构Live2D系统 (#410)
* 修复后台API反代地址未能正确显示的问题

* 更新渲染页面配置

* 添加个人聊天模式配置

* 将用户数据获取改到common中

* 修复错误的渲染页面参数

* 修复bug

* 添加Live2D

* 修复渲染页面错误

* 修复渲染传入值

* 更新渲染

* 修复图表渲染bug

* 调整live2d模型大小

* 修复live2d无法关闭问题

* 修复错误的传值

* 修复ai命名

* 更新渲染

* 添加用户独立设定

* 更新渲染配置适配个人设置

* 修复合并导致的渲染文件异常删除

* 修复用户数据缺失问题

* 修复旧版本数据缺失问题

* 修复bing参数不存在问题,兼容miao的截图

* 修复受限token重试时不被排除的问题

* 修复个人模式下结束对话的模式错误

* 更新渲染页面,将预览版转为正式版

* 修复传统渲染无法调用截图功能的问题

* 文字模式也进行一次缓存

* 更新README

* Update README.md

* 更新渲染

* 更新渲染页面

* 添加版本信息

* 遗漏参数

* 丢失引用

* 补充路由

* 添加云转码功能

* 判断node-silk是否正常合成

* 云转码提示

* 修复图片渲染出错

* 云转码支持发送Buffer

* 添加云转码模式支持

* 更新描述

* 更新后台渲染页面

* 更新配置

* 更新渲染页面

* 添加云渲染

* 修复错误的接口调用

* 修复遗漏的数据转换

* 修复获取的图片数据异常问题

* 更新后台配置

* 更新渲染页面

* 修复云渲染访问地址错误

* 更新渲染页面

* 修复遗漏的模型文件

* 修复live2d问题

* 更新live2d以及相关配置

* 修复遗漏的数据参数

* 修复新live2d情况下云渲染错误的问题

* 适配云渲染1.1.2等待参数

* 添加云服务api检查

* 更新渲染页面

* 添加live2d加载检测

* 修复错误的属性判断

* 添加云渲染DPR

---------

Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-05-11 17:46:15 +08:00
ikechan8370
2bf3a636a6 fix: 微调Bing画图 2023-05-11 17:23:59 +08:00
ifeif
fde029cd91
小优化 (#408) 2023-05-07 22:32:57 +08:00
ikechan8370
e47f18a5aa
fix: add headers for refresh token 2023-05-06 01:11:19 +08:00
ikechan8370
6485d7a93e fix: update version 2023-05-05 21:04:55 +08:00
ikechan8370
fe42df5928 feat: 查看API余额功能;修复频道和部分情况下无法读取群信息时的报错 2023-05-05 21:04:32 +08:00
ifeif
bda0431714
修复文本和语音重复发送的问题 (#400)
* 修复文本和语音重复发送的问题

* 修复提示“你没有配置转语音API哦”的问题

* 新增:Bing对话达到上限时自动关闭对话

* 优化

---------

Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-05-04 22:58:40 +08:00
Sean Murphy
b687d45897
为azure语音模式添加说话风格配置,支持vits语音模式中文回答转日语语音输出,添加翻译功能,支持指令切换语音模式,支持查看当前语音模式下的支持角色列表 (#404)
* feat: add support for ‘greeting’ and ‘global reply mode’ commands, improve variable naming and remove unnecessary backend output.

* feat: Add support for black and white lists, global reply mode and voice role settings, private chat switch, and active greeting configuration. Refactor some variable names and comment out redundant code for better readability and reduced backend output.

* feat: 为新功能完善了帮助面板

* docs: 完善了‘打招呼’的帮助说明

* Commit Type: feat, bugfix

Add functionality to view plugin command table, fix bug in blacklist/whitelist, and fix bug where chat mode can still be used in private messaging when disabled.

* Commit Type: feat, bugfix

Add functionality to view plugin command table, fix bug in blacklist/whitelist, and fix bug where chat mode can still be used in private messaging when disabled.

* refactor: Remove redundant log output.

* Refactor: optimize code logic

* Fix: 修复绘图指令表被抢指令的bug。

* Refactor:1. Add support for automatically translating replies to Japanese and generating voice messages in VITS voice mode (please monitor remaining quota after enabling). 2. Add translation function. 3. Add emotion configuration for Azure voice mode, allowing the robot to select appropriate emotional styles for replies.

* Refactor:Handle the issue of exceeding character setting limit caused by adding emotion configuration.

* Fix: fix bugs

* Refactor: Added error feedback to translation service

* Refactor: Added support for viewing the list of supported roles for each language mode, and fixed some bugs in the emotion switching feature of the auzre mode.

* Refactor: Optimized some command feedback and added owner restriction to chat record export function.

* Refactor: Optimized feedback when viewing role list to avoid excessive messages.

* Refactor: Optimized feedback when configuring multi-emotion mode.

* Feature: Added help instructions for translation feature.

* chore: Adjust help instructions for mood settings

* Fix: Fixed issue where only first line of multi-line replies were being read and Azure voice was pronouncing punctuation marks.

* Fix: Fixed bug where switching to Azure voice mode prompted for missing key and restricted ability to view voice role list to only when in voice mode.

---------

Co-authored-by: Sean <1519059137@qq.com>
Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-05-04 22:55:49 +08:00
ikechan8370
bb90c3c3e7 fix: 优化slack对话拉取机制,避免过长对话导致的maxContentLength size of -1 exceeded错误 2023-05-04 16:54:00 +08:00
ikechan8370
30aa32d5e9
Update README.md (#401) 2023-05-02 17:19:21 +08:00
葛胤池
76d261666a fix: 增加新版本voicevox的新speakers 2023-04-29 19:16:54 +08:00
Err0rCM
0c5a5e8eb8
有关私聊影响其他功能体感的问题 (#387)
#369 关于此issue的问题
2023-04-29 18:46:51 +08:00
2ndelement
6267d2d842
在新的多TTS源模式下添加了VoiceVox源 (#381)
* feat: 添加基于voicevox语音支持

* fix: 配置里添加voicevox语音源

* fix: 切换语音模式对各种语言源提示错误

* fix: 修正voicevox角色风格设置问题

* fix: 修改角色性格切换问题

* fix: 解决角色性格切换问题

* fix 换源分支少打个break(java17-user是这样的)

* fix: 支持云转码的一些调整

---------

Co-authored-by: 葛胤池 <geyinchi@buaa.edu.cn>
2023-04-29 18:45:33 +08:00
葛胤池
d3bd7be722 Merge branch 'temp' into v2 2023-04-29 18:35:47 +08:00
葛胤池
1454917cad fix: 调整以支持云转码 2023-04-29 18:27:57 +08:00
HalcyonAlcedo
5099ae9d87
feat: 后台新增Azure语音配置项 (#383)
* 修复后台API反代地址未能正确显示的问题

* 更新渲染页面配置

* 添加个人聊天模式配置

* 将用户数据获取改到common中

* 修复错误的渲染页面参数

* 修复bug

* 添加Live2D

* 修复渲染页面错误

* 修复渲染传入值

* 更新渲染

* 修复图表渲染bug

* 调整live2d模型大小

* 修复live2d无法关闭问题

* 修复错误的传值

* 修复ai命名

* 更新渲染

* 添加用户独立设定

* 更新渲染配置适配个人设置

* 修复合并导致的渲染文件异常删除

* 修复用户数据缺失问题

* 修复旧版本数据缺失问题

* 修复bing参数不存在问题,兼容miao的截图

* 修复受限token重试时不被排除的问题

* 修复个人模式下结束对话的模式错误

* 更新渲染页面,将预览版转为正式版

* 修复传统渲染无法调用截图功能的问题

* 文字模式也进行一次缓存

* 更新README

* Update README.md

* 更新渲染

* 更新渲染页面

* 添加版本信息

* 遗漏参数

* 丢失引用

* 补充路由

* 添加云转码功能

* 判断node-silk是否正常合成

* 云转码提示

* 修复图片渲染出错

* 云转码支持发送Buffer

* 添加云转码模式支持

* 更新描述

* 更新后台渲染页面

* 更新配置

* 更新渲染页面

* 添加云渲染

* 修复错误的接口调用

* 修复遗漏的数据转换

* 修复获取的图片数据异常问题

* 更新后台配置

* 更新渲染页面

* 修复云渲染访问地址错误

---------

Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-04-29 17:24:33 +08:00
ikechan8370
eb6c25d75d
fix: 修复sydney设定抱歉的问题 2023-04-25 10:28:32 +08:00
127Wzc
06b26ab580
fix:修复对群友@时 昵称中含空格 导致一部分昵称被统计 (#384)
优化:
1.字典在导入nodejieba时初始化一次即可
修复:
1.通过qq消息对象中message对象的type类型直接过滤出文本内容
2023-04-24 23:58:36 +08:00
2ndelement
0daecc2edb
Merge branch 'v2' into v2 2023-04-23 23:39:58 +08:00
ikechan8370
9e4049181a fix: 结束对话指令改为(结束|新开|摧毁|毁灭|完结)对话 2023-04-23 21:09:11 +08:00
ikechan8370
d5e3d52d43 fix: 适配无oicq&icqq;删除存储的azure语音 2023-04-23 21:01:03 +08:00
ikechan8370
1bfb4d7d6b fix: 修改锅巴提示 2023-04-23 15:34:21 +08:00
ikechan8370
1f50e1b7a5 fix: azure语音云转码 2023-04-23 15:26:15 +08:00
ikechan8370
2cafdcaa82 fix: azure下云转码适配 2023-04-23 14:51:02 +08:00
Xcating
49af9dad80
修改指令触发方式 (#382) 2023-04-23 13:58:35 +08:00
2ndelement
cb9f0b2773
fix 换源分支少打个break(java17-user是这样的) 2023-04-23 02:40:33 +08:00
2ndelement
78a99801e7 fix: 解决角色性格切换问题 2023-04-23 02:01:36 +08:00
2ndelement
4a5407502a fix: 修改角色性格切换问题 2023-04-23 01:55:56 +08:00
2ndelement
06495c3c59 fix: 修正voicevox角色风格设置问题 2023-04-23 01:44:43 +08:00
2ndelement
68ef2d104f fix: 切换语音模式对各种语言源提示错误 2023-04-23 01:34:51 +08:00
2ndelement
8baef8b579 fix: 配置里添加voicevox语音源 2023-04-23 01:26:13 +08:00
2ndelement
94c44068a4 feat: 添加基于voicevox语音支持 2023-04-23 01:19:56 +08:00
ikechan8370
a714c21ffb fix: azure默认角色bug 2023-04-22 23:01:57 +08:00
ikechan8370
cf992bbc2c feat: 添加Azure语音支持 2023-04-22 22:54:03 +08:00
ikechan8370
20f6cd5390 fix: 词云增加一些筛选避免太过零碎 2023-04-22 20:09:54 +08:00
ikechan8370
aba80a5ddb fix: add version 2023-04-22 18:08:03 +08:00
ikechan8370
7ae248e5c4 fix: 语音云转码完善file和url模式。 2023-04-22 18:07:46 +08:00
HalcyonAlcedo
49d8dce984
Feat: 新增云转码模式选择 (#380)
* 修复后台API反代地址未能正确显示的问题

* 更新渲染页面配置

* 添加个人聊天模式配置

* 将用户数据获取改到common中

* 修复错误的渲染页面参数

* 修复bug

* 添加Live2D

* 修复渲染页面错误

* 修复渲染传入值

* 更新渲染

* 修复图表渲染bug

* 调整live2d模型大小

* 修复live2d无法关闭问题

* 修复错误的传值

* 修复ai命名

* 更新渲染

* 添加用户独立设定

* 更新渲染配置适配个人设置

* 修复合并导致的渲染文件异常删除

* 修复用户数据缺失问题

* 修复旧版本数据缺失问题

* 修复bing参数不存在问题,兼容miao的截图

* 修复受限token重试时不被排除的问题

* 修复个人模式下结束对话的模式错误

* 更新渲染页面,将预览版转为正式版

* 修复传统渲染无法调用截图功能的问题

* 文字模式也进行一次缓存

* 更新README

* Update README.md

* 更新渲染

* 更新渲染页面

* 添加版本信息

* 遗漏参数

* 丢失引用

* 补充路由

* 添加云转码功能

* 判断node-silk是否正常合成

* 云转码提示

* 修复图片渲染出错

* 云转码支持发送Buffer

* 添加云转码模式支持

* 更新描述

---------

Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
2023-04-22 17:29:23 +08:00
HalcyonAlcedo
55f060dc5f
Feat: 添加语音云转码功能,系统优化和故障修复 (#378)
* 修复后台API反代地址未能正确显示的问题

* 更新渲染页面配置

* 添加个人聊天模式配置

* 将用户数据获取改到common中

* 修复错误的渲染页面参数

* 修复bug

* 添加Live2D

* 修复渲染页面错误

* 修复渲染传入值

* 更新渲染

* 修复图表渲染bug

* 调整live2d模型大小

* 修复live2d无法关闭问题

* 修复错误的传值

* 修复ai命名

* 更新渲染

* 添加用户独立设定

* 更新渲染配置适配个人设置

* 修复合并导致的渲染文件异常删除

* 修复用户数据缺失问题

* 修复旧版本数据缺失问题

* 修复bing参数不存在问题,兼容miao的截图

* 修复受限token重试时不被排除的问题

* 修复个人模式下结束对话的模式错误

* 更新渲染页面,将预览版转为正式版

* 修复传统渲染无法调用截图功能的问题

* 文字模式也进行一次缓存

* 更新README

* Update README.md

* 更新渲染

* 更新渲染页面

* 添加版本信息

* 遗漏参数

* 丢失引用

* 补充路由

* 添加云转码功能

* 判断node-silk是否正常合成

* 云转码提示

* 修复图片渲染出错
2023-04-21 23:36:25 +08:00
ikechan8370
26b4534cfb fix: 使用不存在的设定的bug 2023-04-21 15:02:49 +08:00
ikechan8370
c35c3a66ce fix: node-rs jieba error 2023-04-21 12:23:46 +08:00
ikechan8370
db72462b8e chore: change tokenizer to @node-rs/jieba 2023-04-20 22:15:55 +08:00
ikechan8370
cd228128ba fix: unknown 2023-04-20 19:18:26 +08:00
ikechan8370
5ded004538 fix: cd 2023-04-20 18:03:53 +08:00
ikechan8370
21fc4cbe45 fix: new group or member wordcloud bug 2023-04-20 18:01:51 +08:00
ikechan8370
1475768df8 fix: chat group history bug 2023-04-20 17:41:45 +08:00
ikechan8370
8342c583a5 fix: add some log 2023-04-20 17:26:01 +08:00
ikechan8370
719a810aca fix: import bug 2023-04-20 17:18:08 +08:00
ikechan8370
cee033dc5e fix: add npmrc env for nodejieba 2023-04-20 17:14:04 +08:00