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
MVC Architecture Design:
๐ค 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
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.
โญ๏ธ OpenKF(Open Knowledge Flow) is an online intelligent customer service system. โญ๏ธ
English โข ไธญๆ
๐งฉ Awesome features
๐บ System Preview
Login Page
Config Page
Dashboard Page
Platform Page
Session Page
๐ซ Quick start
๐ฆ Installation
๐ Run
๐ Contributors get up to speed
Be good at using Makefile, it can ensure the quality of your project.
๐ Architecture diagram
MVC Architecture Design:
๐ค File Directory Description
Catalog standardization design structure:
๐๏ธ 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 ๐ฏ
openkfpipeline, then you can search the openkf pipeline to joinWe 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!