Menu

Tree [d4b4d9] main /
 History

HTTPS access


File Date Author Commit
 app 2025-06-25 twool twool [e394ac] 首次提交
 example 2025-06-25 twool twool [e394ac] 首次提交
 front 2025-06-25 twool twool [e394ac] 首次提交
 images unknown
 tests 2025-06-25 twool twool [e394ac] 首次提交
 .gitattributes 2025-06-25 twool twool [e394ac] 首次提交
 .gitignore 2025-06-25 twool twool [e394ac] 首次提交
 README.md 2025-06-25 cp1919 cp1919 [d4b4d9] Update README.md
 build.md 2025-06-25 twool twool [e394ac] 首次提交
 llm-guard.ico 2025-06-25 twool twool [e394ac] 首次提交
 main.py 2025-06-25 twool twool [e394ac] 首次提交
 requirement.txt 2025-06-25 twool twool [e394ac] 首次提交

Read Me

LLM-GUARD 项目说明

0. 直接使用

从发行版本(release)中直接下载可执行文件。

1. 目录结构

|--llm-guard
    |--app          软件后端&接口
    |--front        前端
    |--tests        测试脚本
    |--example      项目文件样例

2. 安装依赖

本项目基于 python 3.12 以及 node v22.11.0

下面脚本在项目根目录下运行

pip install -r requirements.txt
cd front
npm install

3. 启动

cd front
npm run dev

然后运行根目录下的 main.py

4. 打包为exe

本项目需要打包前端ui文件以及Ollama可执行程序,详细说明见 build.md

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.