路桥智能体平台

LingMin 1ba49879f1 Merge branch 'dev_sgsc_lpl' of CRBC-MaaS-Platform-Project/LQAgentPlatform into dev il y a 1 semaine
.vscode dc71203208 dev-debug il y a 3 semaines
config 155fa9e67d fix(sgsc-时效性审查模型-xth): 修复符号导致的误判bug il y a 1 semaine
core 27dde599c3 fix(sgsc-时效性审查模型-xth): 修复纯数字导致的误判bug - 新增判断返回json il y a 1 semaine
data_pipeline e26881db8e v0.0.7-编写-dubug il y a 1 mois
docker 84aea1d204 修改docker 打包相关配置文件 il y a 4 mois
foundation 4a85c403c5 refactor(model): 重构模型配置管理,统一移动到 foundation.ai.models il y a 1 semaine
server 6d28c66915 feat(sgsc-文档脱敏模块-xth): 新增文档脱敏功能 il y a 2 semaines
utils_test c1e2e896f8 feat(doc_worker): 文档智能分类与审查系统重构 il y a 1 semaine
views c1e2e896f8 feat(doc_worker): 文档智能分类与审查系统重构 il y a 1 semaine
.gitignore dc71203208 dev-debug il y a 3 semaines
Dockerfile f5b9fe5030 fix(docker): 修正Debian 12 apt源文件路径 il y a 2 semaines
README.md 7219237601 v0.0.4-功能优化 il y a 3 mois
README_deploy.md 388284576f 增加说明 il y a 2 mois
README_test.md 243451de10 test il y a 3 semaines
__init__.py 90d2d81b68 dev:修复引用路径问题 il y a 4 mois
build_graph_app.png 9ee37877f7 v0.0.4-功能优化 il y a 3 mois
demo.py 626aabac8b v0.0.8-功能优化-新完整性审查- il y a 1 mois
problem.json 46fc37cf1e fix(sgsc-时效性审查模型-xth): 修复时效性bug il y a 2 semaines
requirements.txt 0ce3d4e178 fix:添加依赖 il y a 2 semaines
run.sh 84aea1d204 修改docker 打包相关配置文件 il y a 4 mois
tmp_new_method.py c1e2e896f8 feat(doc_worker): 文档智能分类与审查系统重构 il y a 1 semaine
五_1 7e8efbffac fix(doc_worker): 修复标题匹配导致的章节丢失问题 il y a 1 semaine

README.md

LQAgentPlatform

### LQAgentPlatform 智能体应用服务

增加组件依赖

pip install aiomysql -i https://mirrors.aliyun.com/pypi/simple/

向量模型和重排序模型测试

cd LQAgentPlatform python foundation/models/silicon_flow.py

测试接口

#### 生成模型接口

- chat
    http://localhost:8001/test/generate/chat
    {
      "config": {
          "session_id":"111"
      },
      "input": "你好"
    }
- stream
  http://localhost:8001/test/generate/stream
    {
      "config": {
          "session_id":"111"
      },
      "input": "你好,我叫小红,你叫什么?"
    }

#### agent 智能体

- chat
  http://localhost:8001/test/agent/stream
    {
      "config": {
          "session_id":"111"
      },
      "input": "你好"
    }

- stream

curl -X POST "http://localhost:8001/test/agent/stream" \ -H "Content-Type: application/json" \ -d '{

"config": {
    "session_id": "111"
},
"input": "你好"

}'

#### Workflow-Graph stream

- chat
  http://localhost:8001/test/graph/stream
    {
      "config": {
          "session_id":"111"
      },
      "input": "你好"
    }

- agent
  http://localhost:8001/test/graph/stream
    {
      "config": {
          "session_id":"111"
      },
      "input": "查询信息"
    }

MySQL 数据库操作测试

向量检索测试