mirror of
https://gitee.com/270580156/weiyu.git
synced 2025-12-30 10:52:26 +00:00
update
This commit is contained in:
@@ -1,25 +1,57 @@
|
||||
<!--
|
||||
* @Author: jackning 270580156@qq.com
|
||||
* @Date: 2024-02-02 09:32:36
|
||||
* @LastEditors: jackning 270580156@qq.com
|
||||
* @LastEditTime: 2024-07-20 08:24:46
|
||||
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
|
||||
* Please be aware of the BSL license restrictions before installing Bytedesk IM –
|
||||
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
|
||||
* Business Source License 1.1: https://github.com/Bytedesk/bytedesk/blob/main/LICENSE
|
||||
* contact: 270580156@qq.com
|
||||
* 联系:270580156@qq.com
|
||||
* Copyright (c) 2024 by bytedesk.com, All Rights Reserved.
|
||||
-->
|
||||
# AI 模块
|
||||
|
||||
## docs
|
||||
## 功能特性
|
||||
|
||||
- [spring-ai](https://spring.io/projects/spring-ai)
|
||||
- [spring-ai-docs](https://docs.spring.io/spring-ai/reference/index.html)
|
||||
- [spring-ai-getting-started](https://docs.spring.io/spring-ai/reference/getting-started.html)
|
||||
- [spring-ai-github](https://github.com/spring-projects/spring-ai)
|
||||
### 1. 多模型支持
|
||||
|
||||
```bash
|
||||
ollama --help
|
||||
```
|
||||
- OpenAI集成
|
||||
- 智谱AI对接
|
||||
- 文心一言集成
|
||||
- Ollama本地部署
|
||||
- 自定义模型接入
|
||||
- 多模型协同工作
|
||||
|
||||
### 2. 智能客服
|
||||
|
||||
- 24/7全天候自动回复
|
||||
- 多轮对话支持
|
||||
- 情感分析
|
||||
- 意图识别
|
||||
- 智能问答推荐
|
||||
- 人机协作服务
|
||||
|
||||
### 3. 智能体系统
|
||||
|
||||
- 角色定制
|
||||
- 知识库对接
|
||||
- 上下文管理
|
||||
- 多智能体协作
|
||||
- 任务规划执行
|
||||
- 持续学习优化
|
||||
|
||||
### 4. 自动化工作流
|
||||
|
||||
- 流程自动化
|
||||
- 智能任务分发
|
||||
- 条件触发执行
|
||||
- 多步骤编排
|
||||
- 异常处理机制
|
||||
- 执行监控分析
|
||||
|
||||
### 5. 知识库管理
|
||||
|
||||
- 知识库构建
|
||||
- 文档智能导入
|
||||
- 知识图谱
|
||||
- 语义检索
|
||||
- 实时更新
|
||||
- 知识推理
|
||||
|
||||
### 6. 数据分析
|
||||
|
||||
- 对话质量分析
|
||||
- 用户意图洞察
|
||||
- 性能监控
|
||||
- 效果评估
|
||||
- 优化建议
|
||||
- 趋势预测
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @Author: jackning 270580156@qq.com
|
||||
* @Date: 2024-11-05 13:43:02
|
||||
* @LastEditors: jackning 270580156@qq.com
|
||||
* @LastEditTime: 2025-02-26 12:40:13
|
||||
* @LastEditTime: 2025-02-26 13:28:40
|
||||
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
|
||||
* Please be aware of the BSL license restrictions before installing Bytedesk IM –
|
||||
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
|
||||
@@ -13,9 +13,13 @@
|
||||
*/
|
||||
package com.bytedesk.ai.robot;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.beans.factory.SmartInitializingSingleton;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import com.bytedesk.ai.springai.demo.bytedesk.SpringAIBytedeskService;
|
||||
import com.bytedesk.ai.springai.demo.utils.FileContent;
|
||||
import com.bytedesk.core.constant.BytedeskConsts;
|
||||
import com.bytedesk.core.enums.LevelEnum;
|
||||
import com.bytedesk.core.uid.UidUtils;
|
||||
@@ -27,6 +31,8 @@ import lombok.AllArgsConstructor;
|
||||
public class RobotInitializer implements SmartInitializingSingleton {
|
||||
|
||||
private final RobotRestService robotService;
|
||||
|
||||
private final SpringAIBytedeskService springAIBytedeskService;
|
||||
|
||||
@Override
|
||||
public void afterSingletonsInstantiated() {
|
||||
@@ -38,8 +44,13 @@ public class RobotInitializer implements SmartInitializingSingleton {
|
||||
String orgUid = BytedeskConsts.DEFAULT_ORGANIZATION_UID;
|
||||
// 为初始组织创建一个机器人
|
||||
robotService.initDefaultRobot(orgUid);
|
||||
// TODO: 默认使用演示文档内容,填充且只填充超级管理员演示机器人
|
||||
|
||||
|
||||
// 默认使用演示文档内容,填充且只填充超级管理员演示机器人
|
||||
List<FileContent> files = springAIBytedeskService.getAllFiles();
|
||||
// 写入到redis vector 中
|
||||
for (FileContent file : files) {
|
||||
// redisTemplate.opsForValue().set(file.getFilename(), file.getContent());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
* @Author: jackning 270580156@qq.com
|
||||
* @Date: 2025-02-22 10:54:39
|
||||
* @LastEditors: jackning 270580156@qq.com
|
||||
* @LastEditTime: 2025-02-26 12:26:12
|
||||
* @LastEditTime: 2025-02-26 13:28:13
|
||||
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
|
||||
* Please be aware of the BSL license restrictions before installing Bytedesk IM –
|
||||
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
|
||||
@@ -20,7 +20,7 @@ import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import com.bytedesk.ai.springai.demo.bytedesk.SpringAIBytedeskService.FileContent;
|
||||
import com.bytedesk.ai.springai.demo.utils.FileContent;
|
||||
import com.bytedesk.core.utils.JsonResult;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* @Author: jackning 270580156@qq.com
|
||||
* @Date: 2025-02-22 11:37:40
|
||||
* @LastEditors: jackning 270580156@qq.com
|
||||
* @LastEditTime: 2025-02-22 12:07:01
|
||||
* @LastEditTime: 2025-02-26 13:28:23
|
||||
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
|
||||
* Please be aware of the BSL license restrictions before installing Bytedesk IM –
|
||||
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
|
||||
@@ -24,7 +24,8 @@ import org.springframework.core.io.support.ResourcePatternResolver;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.util.FileCopyUtils;
|
||||
|
||||
import lombok.Data;
|
||||
import com.bytedesk.ai.springai.demo.utils.FileContent;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@Slf4j
|
||||
@@ -80,16 +81,7 @@ public class SpringAIBytedeskService {
|
||||
return folders;
|
||||
}
|
||||
|
||||
@Data
|
||||
class FileContent {
|
||||
private String filename;
|
||||
private String content;
|
||||
|
||||
public FileContent(String filename, String content) {
|
||||
this.filename = filename;
|
||||
this.content = content;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.bytedesk.ai.springai.demo.utils;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class FileContent {
|
||||
private String filename;
|
||||
private String content;
|
||||
}
|
||||
@@ -1,12 +1,57 @@
|
||||
# AI 模块
|
||||
|
||||
## docs
|
||||
## 功能特性
|
||||
|
||||
- [spring-ai](https://spring.io/projects/spring-ai)
|
||||
- [spring-ai-docs](https://docs.spring.io/spring-ai/reference/index.html)
|
||||
- [spring-ai-getting-started](https://docs.spring.io/spring-ai/reference/getting-started.html)
|
||||
- [spring-ai-github](https://github.com/spring-projects/spring-ai)
|
||||
### 1. 多模型支持
|
||||
|
||||
```bash
|
||||
ollama --help
|
||||
```
|
||||
- OpenAI集成
|
||||
- 智谱AI对接
|
||||
- 文心一言集成
|
||||
- Ollama本地部署
|
||||
- 自定义模型接入
|
||||
- 多模型协同工作
|
||||
|
||||
### 2. 智能客服
|
||||
|
||||
- 24/7全天候自动回复
|
||||
- 多轮对话支持
|
||||
- 情感分析
|
||||
- 意图识别
|
||||
- 智能问答推荐
|
||||
- 人机协作服务
|
||||
|
||||
### 3. 智能体系统
|
||||
|
||||
- 角色定制
|
||||
- 知识库对接
|
||||
- 上下文管理
|
||||
- 多智能体协作
|
||||
- 任务规划执行
|
||||
- 持续学习优化
|
||||
|
||||
### 4. 自动化工作流
|
||||
|
||||
- 流程自动化
|
||||
- 智能任务分发
|
||||
- 条件触发执行
|
||||
- 多步骤编排
|
||||
- 异常处理机制
|
||||
- 执行监控分析
|
||||
|
||||
### 5. 知识库管理
|
||||
|
||||
- 知识库构建
|
||||
- 文档智能导入
|
||||
- 知识图谱
|
||||
- 语义检索
|
||||
- 实时更新
|
||||
- 知识推理
|
||||
|
||||
### 6. 数据分析
|
||||
|
||||
- 对话质量分析
|
||||
- 用户意图洞察
|
||||
- 性能监控
|
||||
- 效果评估
|
||||
- 优化建议
|
||||
- 趋势预测
|
||||
|
||||
@@ -1,16 +1,3 @@
|
||||
<!--
|
||||
* @Author: jackning 270580156@qq.com
|
||||
* @Date: 2024-07-23 11:19:20
|
||||
* @LastEditors: jackning 270580156@qq.com
|
||||
* @LastEditTime: 2024-12-06 18:17:19
|
||||
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
|
||||
* Please be aware of the BSL license restrictions before installing Bytedesk IM –
|
||||
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
|
||||
* Business Source License 1.1: https://github.com/Bytedesk/bytedesk/blob/main/LICENSE
|
||||
* contact: 270580156@qq.com
|
||||
* 联系:270580156@qq.com
|
||||
* Copyright (c) 2024 by bytedesk.com, All Rights Reserved.
|
||||
-->
|
||||
# 企业知识库系统功能设计
|
||||
|
||||
## 1. 内容管理
|
||||
|
||||
@@ -1,16 +1,3 @@
|
||||
<!--
|
||||
* @Author: jackning 270580156@qq.com
|
||||
* @Date: 2024-03-04 09:54:33
|
||||
* @LastEditors: jack ning github@bytedesk.com
|
||||
* @LastEditTime: 2025-02-16 06:59:30
|
||||
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
|
||||
* Please be aware of the BSL license restrictions before installing Bytedesk IM –
|
||||
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
|
||||
* Business Source License 1.1: https://github.com/Bytedesk/bytedesk/blob/main/LICENSE
|
||||
* contact: 270580156@qq.com
|
||||
* 联系:270580156@qq.com
|
||||
* Copyright (c) 2024 by bytedesk.com, All Rights Reserved.
|
||||
-->
|
||||
# 社交IM 模块
|
||||
|
||||
## 参考Discord的社区设计方案
|
||||
|
||||
@@ -1,16 +1,3 @@
|
||||
<!--
|
||||
* @Author: jackning 270580156@qq.com
|
||||
* @Date: 2024-01-29 16:24:13
|
||||
* @LastEditors: jack ning github@bytedesk.com
|
||||
* @LastEditTime: 2025-02-06 17:44:26
|
||||
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
|
||||
* Please be aware of the BSL license restrictions before installing Bytedesk IM –
|
||||
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
|
||||
* Business Source License 1.1: https://github.com/Bytedesk/bytedesk/blob/main/LICENSE
|
||||
* contact: 270580156@qq.com
|
||||
* 联系:270580156@qq.com
|
||||
* Copyright (c) 2024 by bytedesk.com, All Rights Reserved.
|
||||
-->
|
||||
# 企业IM系统功能设计
|
||||
|
||||
## 1. 即时通讯核心功能
|
||||
|
||||
@@ -1,20 +1,5 @@
|
||||
<!--
|
||||
* @Author: jackning 270580156@qq.com
|
||||
* @Date: 2024-10-01 13:21:04
|
||||
* @LastEditors: jackning 270580156@qq.com
|
||||
* @LastEditTime: 2025-02-16 23:44:30
|
||||
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
|
||||
* Please be aware of the BSL license restrictions before installing Bytedesk IM –
|
||||
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
|
||||
* Business Source License 1.1: https://github.com/Bytedesk/bytedesk/blob/main/LICENSE
|
||||
* contact: 270580156@qq.com
|
||||
* 联系:270580156@qq.com
|
||||
* Copyright (c) 2024 by bytedesk.com, All Rights Reserved.
|
||||
-->
|
||||
# 工单系统
|
||||
|
||||
- 参考[腾讯云-工单系统](https://console.cloud.tencent.com/workorder)实现第一版
|
||||
|
||||
这个工单系统具有以下主要功能:
|
||||
|
||||
## 通知
|
||||
|
||||
@@ -1,21 +1,5 @@
|
||||
<!--
|
||||
* @Author: jackning 270580156@qq.com
|
||||
* @Date: 2024-09-11 10:22:00
|
||||
* @LastEditors: jackning 270580156@qq.com
|
||||
* @LastEditTime: 2024-12-20 22:23:07
|
||||
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
|
||||
* Please be aware of the BSL license restrictions before installing Bytedesk IM –
|
||||
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
|
||||
* Business Source License 1.1: https://github.com/Bytedesk/bytedesk/blob/main/LICENSE
|
||||
* contact: 270580156@qq.com
|
||||
* 联系:270580156@qq.com
|
||||
* Copyright (c) 2024 by bytedesk.com, All Rights Reserved.
|
||||
-->
|
||||
# 客户之声,意见反馈
|
||||
|
||||
- 参考[腾讯云-voc](https://cloud.tencent.com/voc/)实现第一版
|
||||
- 参考[腾讯兔小巢](https://support.qq.com/products/1368)
|
||||
|
||||
## 功能设计
|
||||
|
||||
## 1. 反馈收集渠道
|
||||
|
||||
Reference in New Issue
Block a user