路桥智能体平台

LingMin 4dd0db1fe3 Merge branch 'dev_lingmin' of CRBC-MaaS-Platform-Project/LQAgentPlatform into dev 1 settimana fa
.vscode dc71203208 dev-debug 3 settimane fa
config 0bd380f464 feat(ocr): 添加YOLO目录检测、OCR提取及Embedding配置优化 1 settimana fa
core 0bd380f464 feat(ocr): 添加YOLO目录检测、OCR提取及Embedding配置优化 1 settimana fa
data_pipeline 0bd380f464 feat(ocr): 添加YOLO目录检测、OCR提取及Embedding配置优化 1 settimana fa
docker 84aea1d204 修改docker 打包相关配置文件 4 mesi fa
foundation 0bd380f464 feat(ocr): 添加YOLO目录检测、OCR提取及Embedding配置优化 1 settimana fa
server 6d28c66915 feat(sgsc-文档脱敏模块-xth): 新增文档脱敏功能 2 settimane fa
utils_test aa58c429df feat(时效性):添加时效性测试 1 settimana fa
views c1e2e896f8 feat(doc_worker): 文档智能分类与审查系统重构 1 settimana fa
.gitignore dc71203208 dev-debug 3 settimane fa
Dockerfile aa58c429df feat(时效性):添加时效性测试 1 settimana fa
README.md 7219237601 v0.0.4-功能优化 3 mesi fa
README_deploy.md 388284576f 增加说明 2 mesi fa
README_test.md 243451de10 test 3 settimane fa
__init__.py 90d2d81b68 dev:修复引用路径问题 4 mesi fa
build_graph_app.png 9ee37877f7 v0.0.4-功能优化 3 mesi fa
demo.py 626aabac8b v0.0.8-功能优化-新完整性审查- 1 mese fa
problem.json 46fc37cf1e fix(sgsc-时效性审查模型-xth): 修复时效性bug 2 settimane fa
requirements.txt 0bd380f464 feat(ocr): 添加YOLO目录检测、OCR提取及Embedding配置优化 1 settimana fa
run.sh 84aea1d204 修改docker 打包相关配置文件 4 mesi fa
tmp_new_method.py c1e2e896f8 feat(doc_worker): 文档智能分类与审查系统重构 1 settimana fa
五_1 7e8efbffac fix(doc_worker): 修复标题匹配导致的章节丢失问题 1 settimana fa

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 数据库操作测试

向量检索测试