From bce101bf52763248093f2e7b2bf9abd434fa9964 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 23 Jul 2025 11:08:32 +0800 Subject: [PATCH] first commit --- README.md | 55 ++++++++++++++++++++++++++++++++++++++++++ app/kyrag.py | 16 +++++++++++++ conf/config.json | 62 ++++++++++++++++++++++++++++++++++++++++++++++++ requirements.txt | 8 +++++++ 4 files changed, 141 insertions(+) create mode 100644 README.md create mode 100644 app/kyrag.py create mode 100755 conf/config.json create mode 100644 requirements.txt diff --git a/README.md b/README.md new file mode 100644 index 0000000..4848810 --- /dev/null +++ b/README.md @@ -0,0 +1,55 @@ +# 开元rag + +## 安装 +执行下面的命令 +``` +git clone https://git.opencomputing.cn/yumoqing/kyrag +cd kyrag +cdir=$(pwd) +uname=$(id -un) +gname=$(id -gn) +python3 -m venv py3 +source py3/bin/activate +pip install -r requirements.txt +cat > $cdir/kyrag.service < $cdir/start.sh < $cdir/stop.sh <