็›ฎๅฝ•

โญ๏ธ OpenKF(Open Knowledge Flow) is an online intelligent customer service system. โญ๏ธ

A+ good first

English โ€ข ไธญๆ–‡


๐Ÿงฉ Awesome features

  1. OpenKF is an opensource customer service system based on OpenIM.
  2. Support LLM(Local Knowledgebase) customer service.
  3. Support multi-channel customer service, and easy to integrate with third-party systems.
  4. Easy to deploy and secondary development.

๐Ÿ“บ System Preview

Login Page
Config Page
Dashboard Page
Platform Page
Session Page

๐Ÿ›ซ Quick start

Note: You can get started quickly with OpenKF.

๐Ÿ“ฆ Installation

git clone https://github.com/openimsdk/openkf openkf && export openkf=$(pwd)/openkf && cd $openkf && make

๐Ÿš€ Run

Note: We need to run the backend server first

make build

open another terminal run the following command

# make dev
cd web
npm run dev

๐Ÿ“– Contributors get up to speed

Be good at using Makefile, it can ensure the quality of your project.

Usage: make <TARGETS> ...

Targets:
  all                          Build all the necessary targets. ๐Ÿ—๏ธ
  build                        Build binaries by default. ๐Ÿ› ๏ธ
  go.build                     Build the binary file of the specified platform. ๐Ÿ‘จโ€๐Ÿ’ป
  build-multiarch              Build binaries for multiple platforms. ๐ŸŒ
  tidy                         tidy go.mod ๐Ÿ“ฆ
  style                        Code style -> fmt,vet,lint ๐ŸŽจ
  fmt                          Run go fmt against code. โœจ
  vet                          Run go vet against code. ๐Ÿ”
  generate                     Run go generate against code and docs. โœ…
  lint                         Run go lint against code. ๐Ÿ”Ž
  test                         Run unit test โœ”๏ธ
  cover                        Run unit test with coverage. ๐Ÿงช
  docker-build                 Build docker image with the manager. ๐Ÿณ
  docker-push                  Push docker image with the manager. ๐Ÿ”
  docker-buildx-push           Push docker image with the manager using buildx. ๐Ÿšข
  copyright-verify             Validate boilerplate headers for assign files. ๐Ÿ“„
  copyright-add                Add the boilerplate headers for all files. ๐Ÿ“
  swagger                      Generate swagger document. ๐Ÿ“š
  serve-swagger                Serve swagger spec and docs. ๐ŸŒ
  clean                        Clean all builds. ๐Ÿงน
  help                         Show this help info. โ„น๏ธ

Note: Itโ€™s highly recommended that you run make all before committing your code. ๐Ÿš€

make all

๐Ÿ•‹ Architecture diagram

Architecture

MVC Architecture Design:

MVC

๐Ÿค– File Directory Description

Catalog standardization design structure:

.
โ”œโ”€โ”€ assets
โ”‚   โ””โ”€โ”€ images
โ”œโ”€โ”€ build
โ”œโ”€โ”€ deploy
โ”œโ”€โ”€ docs
โ”œโ”€โ”€ kf_plugins # Local knowledgebase with LLM
โ”‚   โ”œโ”€โ”€ chat
โ”‚   โ”œโ”€โ”€ config
โ”‚   โ”œโ”€โ”€ data
โ”‚   โ”œโ”€โ”€ logs
โ”‚   โ”œโ”€โ”€ model
โ”‚   โ””โ”€โ”€ utils
โ”œโ”€โ”€ scripts
โ”‚   โ”œโ”€โ”€ githooks
โ”‚   โ””โ”€โ”€ LICENSE
โ”œโ”€โ”€ server # OpenKF backend
โ”‚   โ”œโ”€โ”€ cmd
โ”‚   โ”œโ”€โ”€ data
โ”‚   โ”œโ”€โ”€ docs
โ”‚   โ”œโ”€โ”€ examples
โ”‚   โ”œโ”€โ”€ internal
โ”‚   โ”œโ”€โ”€ logs
โ”‚   โ”œโ”€โ”€ pkg
โ”‚   โ”œโ”€โ”€ test
โ”‚   โ””โ”€โ”€ tools
โ””โ”€โ”€ web # OpenKF frontend
    โ”œโ”€โ”€ public
    โ”œโ”€โ”€ scripts
    โ””โ”€โ”€ src

๐Ÿ—“๏ธ community meeting

We want anyone to get involved in our community, we offer gifts and rewards, and we welcome you to join us every Thursday night.

Our conference is in the OpenIM Slack ๐ŸŽฏ openkf pipeline, then you can search the openkf pipeline to join

We take notes of each biweekly meeting in GitHub discussions, and our minutes are written in Google Docs.

๐Ÿคผโ€ Contributing & Development

OpenIMSDK Our goal is to build a top-level open source community. We have a set of standards, in the Community repository.

If youโ€™d like to contribute to this OpenKF repository, please read our contributor documentation.

Before you start, please make sure your changes are in demand. The best for that is to create a new discussion OR Slack Communication, or if you find an issue, report it first.

๐Ÿšจ License

OpenKF is licensed under the Apache 2.0 license. See LICENSE for the full license text.

The OpenKF logo, including its variations and animated versions, displayed in this repository OpenKF under the assets/logo and assets/logo-gif directories, are protected by copyright laws.

๐Ÿ”ฎ Thanks to our contributors!

ๅ…ณไบŽ

openkf

14.0 MB
้‚€่ฏท็ 
    Gitlink๏ผˆ็กฎๅฎžๅผ€ๆบ๏ผ‰
  • ๅŠ ๅ…ฅๆˆ‘ไปฌ
  • ๅฎ˜็ฝ‘้‚ฎ็ฎฑ๏ผšgitlink@ccf.org.cn
  • QQ็พค
  • QQ็พค
  • ๅ…ฌไผ—ๅท
  • ๅ…ฌไผ—ๅท

็‰ˆๆƒๆ‰€ๆœ‰๏ผšไธญๅ›ฝ่ฎก็ฎ—ๆœบๅญฆไผšๆŠ€ๆœฏๆ”ฏๆŒ๏ผšๅผ€ๆบๅ‘ๅฑ•ๆŠ€ๆœฏๅง”ๅ‘˜ไผš
ไบฌICPๅค‡13000930ๅท-9 ไบฌๅ…ฌ็ฝ‘ๅฎ‰ๅค‡ 11010802032778ๅท