路桥智能体平台

tangle ebfbb4bcdd Merge branch 'dev' into dev-planWrite hace 2 semanas
.design 00336af860 docs: 更新基础架构设计文档至 v3.0,合并冲突解决 hace 1 mes
.vscode dc71203208 dev-debug hace 2 meses
config ac845a3ca0 @ hace 3 semanas
core ebfbb4bcdd Merge branch 'dev' into dev-planWrite hace 2 semanas
data_pipeline 0bd380f464 feat(ocr): 添加YOLO目录检测、OCR提取及Embedding配置优化 hace 1 mes
docker 84aea1d204 修改docker 打包相关配置文件 hace 6 meses
foundation ac845a3ca0 @ hace 3 semanas
server 6d28c66915 feat(sgsc-文档脱敏模块-xth): 新增文档脱敏功能 hace 2 meses
utils_test 8fe16aaf01 feat: 恢复OCR目录检测、figure区域OCR、表格精确回填,增加YOLO测试工具 hace 2 semanas
views ac845a3ca0 @ hace 3 semanas
.gitignore 8fe16aaf01 feat: 恢复OCR目录检测、figure区域OCR、表格精确回填,增加YOLO测试工具 hace 2 semanas
Dockerfile ceb5cb06bb feat(deploy): 拆分 base/app 镜像并支持代理加速构建 hace 1 mes
Dockerfile.base edb6810c78 chore(deploy): 标记代理使用说明 hace 1 mes
README.md 7219237601 v0.0.4-功能优化 hace 5 meses
README_deploy.md 388284576f 增加说明 hace 3 meses
README_test.md 243451de10 test hace 2 meses
__init__.py 90d2d81b68 dev:修复引用路径问题 hace 5 meses
demo.py 626aabac8b v0.0.8-功能优化-新完整性审查- hace 2 meses
deploy_agent.sh 95de39c4cb feat(deploy): 代理检测与启动提示 hace 1 mes
problem.json 46fc37cf1e fix(sgsc-时效性审查模型-xth): 修复时效性bug hace 2 meses
requirements.txt 0bd380f464 feat(ocr): 添加YOLO目录检测、OCR提取及Embedding配置优化 hace 1 mes
run.sh 84aea1d204 修改docker 打包相关配置文件 hace 6 meses
tmp_new_method.py c1e2e896f8 feat(doc_worker): 文档智能分类与审查系统重构 hace 1 mes

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

向量检索测试