路桥智能体平台

xgo b7c0b2569c feat(sgsc-文档切分模块-xth): 新增OCR处理功能 3 hete
.vscode dc71203208 dev-debug 3 hete
config b7c0b2569c feat(sgsc-文档切分模块-xth): 新增OCR处理功能 3 hete
core b7c0b2569c feat(sgsc-文档切分模块-xth): 新增OCR处理功能 3 hete
data_pipeline e26881db8e v0.0.7-编写-dubug 1 hónapja
docker 84aea1d204 修改docker 打包相关配置文件 4 hónapja
foundation b7c0b2569c feat(sgsc-文档切分模块-xth): 新增OCR处理功能 3 hete
server dc71203208 dev-debug 3 hete
utils_test 525cd8e294 v0.0.8-doc更改 1 hónapja
views dc71203208 dev-debug 3 hete
.gitignore dc71203208 dev-debug 3 hete
Dockerfile 0ff9abb748 恢复pip 依赖安装 4 hónapja
README.md 7219237601 v0.0.4-功能优化 3 hónapja
README_deploy.md 388284576f 增加说明 2 hónapja
README_test.md 243451de10 test 3 hete
__init__.py 90d2d81b68 dev:修复引用路径问题 4 hónapja
build_graph_app.png 9ee37877f7 v0.0.4-功能优化 3 hónapja
demo.py 626aabac8b v0.0.8-功能优化-新完整性审查- 1 hónapja
requirements.txt 83fdbf5c7d 调试-debug 4 hónapja
run.sh 84aea1d204 修改docker 打包相关配置文件 4 hónapja

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

向量检索测试