Files
weiyu/README.md

258 lines
9.8 KiB
Markdown
Raw Normal View History

2024-03-29 16:26:33 +08:00
<!--
* @Author: jackning 270580156@qq.com
2024-06-05 09:47:10 +08:00
* @Date: 2024-06-05 09:43:27
2024-05-25 11:08:32 +08:00
* @LastEditors: jackning 270580156@qq.com
2025-06-20 17:25:12 +08:00
* @LastEditTime: 2025-06-20 17:24:34
2024-03-29 16:26:33 +08:00
* @Description: bytedesk.com https://github.com/Bytedesk/bytedesk
2024-06-05 09:47:10 +08:00
* Please be aware of the BSL license restrictions before installing Bytedesk IM
2025-01-06 18:03:40 +08:00
* selling, reselling, or hosting Bytedesk IM as a service is a breach of the terms and automatically terminates your rights under the license.
2024-06-05 09:47:10 +08:00
* Business Source License 1.1: https://github.com/Bytedesk/bytedesk/blob/main/LICENSE
* contact: 270580156@qq.com
2024-03-29 16:26:33 +08:00
* 联系270580156@qq.com
2024-06-05 09:47:10 +08:00
* Copyright (c) 2024 by bytedesk.com, All Rights Reserved.
2024-03-29 16:26:33 +08:00
-->
2024-12-27 12:05:12 +08:00
# Bytedesk - Chat as a Service
2024-03-29 16:26:33 +08:00
2025-02-04 21:58:30 +08:00
AI powered Omnichannel customer service With Team Cooperation
2024-06-12 12:07:31 +08:00
## Language
- [English](./README.md)
- [中文](./README.zh.md)
2025-01-25 09:35:35 +08:00
![statistics](./images/admin/statistics.png)
![chat](./images/admin/chat.png)
2025-01-21 16:24:56 +08:00
2024-06-12 12:07:31 +08:00
## Introduction
2025-03-08 11:38:04 +08:00
### [TeamIM](./modules/team/readme.md)
2024-06-12 12:08:57 +08:00
2024-10-19 11:37:16 +08:00
- Multi-level organizational structure
- Role management
- Permission management
2025-01-15 14:34:45 +08:00
- ...
2024-06-12 12:08:57 +08:00
2025-03-08 11:38:04 +08:00
### [Customer Service](./modules/service/readme.md)
2024-06-12 12:07:31 +08:00
2024-10-19 11:37:16 +08:00
- Support multiple channels
- multiple routing strategies, and detailed assessment indicators
2024-06-12 12:07:31 +08:00
- Seating workbench
2025-01-14 17:37:57 +08:00
- ...
2025-03-08 11:38:04 +08:00
### [Knowledge Base](./modules/kbase/readme.md)
2025-01-26 09:01:47 +08:00
- Internal Docs
- HelpCenter
2025-03-04 10:57:34 +08:00
- FAQ
2025-01-26 09:01:47 +08:00
2025-03-08 11:38:04 +08:00
### [Ticket](./modules/ticket/readme.md)
2025-01-14 17:37:57 +08:00
- Ticket management
- Ticket SLA management
- Ticket statistics and reports
- ...
2024-06-12 12:07:31 +08:00
2025-04-22 11:34:20 +08:00
### [AI Agent](./modules/ai/readme.md)
2025-01-26 09:01:47 +08:00
2025-02-17 22:39:51 +08:00
- Chat with Ollama/DeepSeek/ZhipuAI/...
2025-01-26 09:01:47 +08:00
- Chat with Knowledge base(RAG)
2025-03-04 10:57:34 +08:00
- Function calling
- Mcp
2025-01-26 09:01:47 +08:00
2025-03-08 11:38:04 +08:00
### workflow
- form
- process
- ticket process
- ...
2025-05-24 09:47:54 +08:00
### [Voice Of Customer](./modules/voc/readme.md)
- feedback
- survey
- ...
2025-05-24 09:46:14 +08:00
### [Call Center](./plugins/freeswitch/readme.zh.md)
2025-03-25 10:16:06 +08:00
2025-05-24 09:46:14 +08:00
- Professional call platform based on FreeSwitch
- Supports incoming call pop-up screens, automatic allocation, and call recording
- Data statistics, seamless integration of voice and text services
2025-03-25 10:16:06 +08:00
2025-05-24 09:46:14 +08:00
### [Video Customer Service](./plugins/webrtc/readme.zh.md)
2025-04-06 10:00:52 +08:00
2025-05-24 09:46:14 +08:00
- High-definition video calls based on WebRTC technology
- Supports one-click video conversations and screen sharing
- Suitable for service scenarios requiring intuitive demonstrations
### [Video Conference](./plugins/jitsi/readme.zh.md)
- Professional meeting platform integrated with Jitsi
- Supports multi-person online meetings and screen sharing
- Meeting recording and other features to meet remote collaboration needs
2025-04-06 10:00:52 +08:00
2025-05-24 09:47:54 +08:00
### [project kanban](./plugins/kanban/readme.md)
- todo list
- daily/weekly report
- statistics
- ...
2025-03-08 11:38:04 +08:00
### [Social Group](./modules/social/readme.md)
2025-02-19 13:38:50 +08:00
- like Discord
- ...
### Multi-tenant
- Multi-tenant management
- Tenant isolation
- Tenant statistics
- ...
2025-01-16 11:38:23 +08:00
## Docker Quick Start
2025-01-02 15:17:50 +08:00
2025-02-25 11:05:17 +08:00
### method 1: clone project and start docker compose containerneed ollama
2025-01-19 10:14:19 +08:00
2025-01-02 15:17:50 +08:00
```bash
2025-01-19 10:11:15 +08:00
git clone https://github.com/Bytedesk/bytedesk.git && cd bytedesk/deploy/docker && docker compose -p bytedesk -f docker-compose.yaml up -d
```
2025-03-03 07:18:20 +08:00
#### ollama pull model
2025-02-11 18:03:56 +08:00
```bash
2025-04-19 15:05:05 +08:00
# chat model
2025-05-01 11:39:04 +08:00
ollama pull qwen3:0.6b
2025-04-19 15:05:05 +08:00
# embedding model
2025-04-21 16:22:06 +08:00
ollama pull bge-m3:latest
2025-04-22 21:17:51 +08:00
# rerank model
ollama pull linux6200/bge-reranker-v2-m3:latest
2025-04-21 17:53:58 +08:00
# or download model from huggingface
# ollama pull hf.co/<username>/<model-repository>
2025-02-12 12:36:51 +08:00
```
2025-03-03 07:31:51 +08:00
### method 2: run docker compose with ollama
2025-02-19 15:54:18 +08:00
```bash
2025-02-25 11:05:17 +08:00
git clone https://github.com/Bytedesk/bytedesk.git && cd bytedesk/deploy/docker && docker compose -p bytedesk -f docker-compose-ollama.yaml up -d
2025-03-03 07:18:20 +08:00
```
#### docker ollama pull model
```bash
2025-04-19 15:05:05 +08:00
# chat model
2025-05-01 11:39:04 +08:00
docker exec ollama-bytedesk ollama pull qwen3:0.6b
2025-04-19 15:05:05 +08:00
# embedding model
2025-04-21 16:22:06 +08:00
docker exec ollama-bytedesk ollama pull bge-m3:latest
2025-04-22 21:17:51 +08:00
# rerank model
docker exec ollama-bytedesk ollama pull linux6200/bge-reranker-v2-m3:latest
# or download model from huggingface
# docker exec ollama-bytedesk ollama pull hf.co/<username>/<model-repository>
2025-02-19 15:54:18 +08:00
```
2025-03-21 15:08:19 +08:00
<!-- #### if don't need ollama, you can change `docker-compose.yaml` or `docker-compose-ollama.yaml`
2025-02-25 10:58:58 +08:00
```bash
2025-03-06 11:45:59 +08:00
# disable Ollama chat
2025-02-25 10:58:58 +08:00
SPRING_AI_OLLAMA_CHAT_ENABLED: false
2025-03-06 11:45:59 +08:00
# disable Ollama embedding
2025-02-25 10:58:58 +08:00
SPRING_AI_OLLAMA_EMBEDDING_ENABLED: false
2025-03-21 15:08:19 +08:00
``` -->
2025-02-25 10:58:58 +08:00
2025-03-03 07:29:42 +08:00
#### stop container
2025-01-19 10:14:19 +08:00
2025-01-19 10:11:15 +08:00
```bash
2025-01-19 10:00:28 +08:00
docker compose -p bytedesk -f docker-compose.yaml stop
2025-01-02 15:17:50 +08:00
```
2025-03-03 07:29:42 +08:00
#### change config, otherwise upload image, file and knowledge base cannot be displayed normally
2025-02-15 13:30:11 +08:00
2025-02-25 11:05:17 +08:00
- change `docker-compose.yaml` file or `docker-compose-ollama.yaml`
2025-02-15 13:30:11 +08:00
```bash
# please replace 127.0.0.1 with your server ip
BYTEDESK_UPLOAD_URL: http://127.0.0.1:9003
BYTEDESK_KBASE_API_URL: http://127.0.0.1:9003
```
2025-03-06 11:15:52 +08:00
### method 3: run from source code
```bash
2025-03-06 11:45:59 +08:00
git clone https://github.com/Bytedesk/bytedesk.git && cd bytedesk && ./mvnw install -Dmaven.test.skip=true && cd starter && ./mvnw spring-boot:run
2025-03-06 11:15:52 +08:00
```
2025-01-18 15:29:08 +08:00
## Preview
2025-02-02 10:10:31 +08:00
local preview
```bash
2025-02-15 13:30:11 +08:00
# please replace 127.0.0.1 with your server ip
2025-02-12 11:20:45 +08:00
http://127.0.0.1:9003/
2025-02-09 18:24:40 +08:00
# open port: 9003, 9885
2025-03-03 14:07:19 +08:00
demo username: admin@email.com
demo password: admin
2025-02-02 10:10:31 +08:00
```
2025-06-20 17:22:30 +08:00
## Appkey
2025-05-22 13:58:22 +08:00
```bash
# Community
2025-06-19 17:12:59 +08:00
bytedesk.appkey=ZjoyMDI1LTA3LTE5OkNPTU1VTklUWTo6
BYTEDESK_APPKEY: ZjoyMDI1LTA3LTE5OkNPTU1VTklUWTo6
2025-06-20 17:25:12 +08:00
# Enterprise Trial: 2025-07-19
2025-06-19 17:12:59 +08:00
bytedesk.appkey=ZjoyMDI1LTA3LTE5OkVOVEVSUFJJU0U6Og==
BYTEDESK_APPKEY: ZjoyMDI1LTA3LTE5OkVOVEVSUFJJU0U6Og==
2025-06-20 17:25:12 +08:00
# Platform Trial: 2025-07-19
2025-06-19 17:12:59 +08:00
bytedesk.appkey=ZjoyMDI1LTA3LTE5OlBMQVRGT1JNOjo=
BYTEDESK_APPKEY: ZjoyMDI1LTA3LTE5OlBMQVRGT1JNOjo=
2025-05-22 13:58:22 +08:00
```
2025-04-22 09:58:34 +08:00
## architecture
- [architecture](https://www.weiyuai.cn/architecture.html)
2025-01-18 15:29:08 +08:00
2025-02-04 10:49:33 +08:00
## Open Source Client
2025-02-01 18:50:11 +08:00
- [desktop](https://github.com/Bytedesk/bytedesk-desktop)
- [mobile](https://github.com/Bytedesk/bytedesk-mobile)
2025-03-04 07:25:06 +08:00
## Open Source Demo + SDK
2024-06-05 12:19:37 +08:00
2024-10-19 11:37:16 +08:00
| Project | Description | Forks | Stars |
|-------------|-----------------------|----------------|-------------------|
2025-01-07 22:20:43 +08:00
| [iOS](https://github.com/bytedesk/bytedesk-swift) | iOS | ![GitHub forks](https://img.shields.io/github/forks/bytedesk/bytedesk-swift) | ![GitHub Repo stars](https://img.shields.io/github/stars/Bytedesk/bytedesk-swift) |
2024-10-19 11:37:16 +08:00
| [Android](https://github.com/bytedesk/bytedesk-android) | Android | ![GitHub forks](https://img.shields.io/github/forks/bytedesk/bytedesk-android) | ![GitHub Repo stars](https://img.shields.io/github/stars/bytedesk/bytedesk-android) |
2024-10-25 17:31:45 +08:00
| [Flutter](https://github.com/bytedesk/bytedesk-flutter) | Flutter | ![GitHub forks](https://img.shields.io/github/forks/bytedesk/bytedesk-flutter)| ![GitHub Repo stars](https://img.shields.io/github/stars/bytedesk/bytedesk-flutter) |
2024-10-19 11:37:16 +08:00
| [UniApp](https://github.com/bytedesk/bytedesk-uniapp) | Uniapp | ![GitHub forks](https://img.shields.io/github/forks/bytedesk/bytedesk-uniapp) | ![GitHub Repo stars](https://img.shields.io/github/stars/bytedesk/bytedesk-uniapp) |
2025-01-22 13:35:56 +08:00
| [Web](https://github.com/bytedesk/bytedesk-web) | Vue/React/Angular/Next.js/JQuery/... | ![GitHub forks](https://img.shields.io/github/forks/bytedesk/bytedesk-web) | ![GitHub Repo stars](https://img.shields.io/github/stars/bytedesk/bytedesk-web) |
2025-01-22 09:32:51 +08:00
| [Wordpress](https://github.com/bytedesk/bytedesk-wordpress) | Wordpress | ![GitHub forks](https://img.shields.io/github/forks/bytedesk/bytedesk-wordpress) | ![GitHub Repo stars](https://img.shields.io/github/stars/bytedesk/bytedesk-wordpress) |
| [Woocommerce](https://github.com/bytedesk/bytedesk-woocommerce) | woocommerce | ![GitHub forks](https://img.shields.io/github/forks/bytedesk/bytedesk-woocommerce) | ![GitHub Repo stars](https://img.shields.io/github/stars/bytedesk/bytedesk-woocommerce) |
| [Magento](https://github.com/bytedesk/bytedesk-magento) | Magento | ![GitHub forks](https://img.shields.io/github/forks/bytedesk/bytedesk-magento) | ![GitHub Repo stars](https://img.shields.io/github/stars/bytedesk/bytedesk-magento) |
| [Prestashop](https://github.com/bytedesk/bytedesk-prestashop) | Prestashop | ![GitHub forks](https://img.shields.io/github/forks/bytedesk/bytedesk-prestashop) | ![GitHub Repo stars](https://img.shields.io/github/stars/bytedesk/bytedesk-prestashop) |
| [Shopify](https://github.com/bytedesk/bytedesk-shopify) | Shopify | ![GitHub forks](https://img.shields.io/github/forks/bytedesk/bytedesk-shopify) | ![GitHub Repo stars](https://img.shields.io/github/stars/bytedesk/bytedesk-shopify) |
| [Opencart](https://github.com/bytedesk/bytedesk-opencart) | Opencart | ![GitHub forks](https://img.shields.io/github/forks/bytedesk/bytedesk-opencart) | ![GitHub Repo stars](https://img.shields.io/github/stars/bytedesk/bytedesk-opencart) |
| [Laravel](https://github.com/bytedesk/bytedesk-laravel) | Laravel | ![GitHub forks](https://img.shields.io/github/forks/bytedesk/bytedesk-laravel) | ![GitHub Repo stars](https://img.shields.io/github/stars/bytedesk/bytedesk-laravel) |
| [Django](https://github.com/bytedesk/bytedesk-django) | Django | ![GitHub forks](https://img.shields.io/github/forks/bytedesk/bytedesk-django) | ![GitHub Repo stars](https://img.shields.io/github/stars/bytedesk/bytedesk-django) |
2024-06-05 12:19:37 +08:00
2025-01-19 10:18:05 +08:00
## Links
2024-06-05 12:19:37 +08:00
2024-12-27 07:31:25 +08:00
- [Download](https://www.weiyuai.cn/download.html)
2025-01-19 10:18:05 +08:00
- [Docs](https://www.weiyuai.cn/docs/)
2024-06-05 12:19:37 +08:00
2024-12-23 17:15:33 +08:00
<!-- ## Dev Stack -->
2024-08-20 09:36:19 +08:00
<!-- - [sofaboot](https://github.com/sofastack/sofa-boot/blob/master/README_ZH.md) for im server -->
2024-12-23 17:15:33 +08:00
<!-- - [springboot-3.x for im server](https://github.com/Bytedesk/bytedesk) -->
<!-- - [python for ai](https://github.com/Bytedesk/bytedesk-ai) -->
<!-- - [react for web](https://github.com/Bytedesk/bytedesk-react) -->
<!-- - [flutter for ios&android](https://github.com/Bytedesk/bytedesk-mobile) -->
<!-- - [electron for windows&mac&linux](https://github.com/Bytedesk/bytedesk-desktop) -->
2025-03-14 16:49:07 +08:00
## License
Copyright (c) 2013-2025 微语 Bytedesk.com, All rights reserved.
Licensed under GNU AFFERO GENERAL PUBLIC LICENSE(AGPL v3) (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
<https://www.gnu.org/licenses/agpl-3.0.html>
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.