路桥智能体平台

lingmin_package@163.com 82fcabb22e 增加部署说明和案例测试修改 3 сар өмнө
config 82fcabb22e 增加部署说明和案例测试修改 3 сар өмнө
core c1c24c609e dev:精简冗余 3 сар өмнө
data_pipeline 9ed6578b53 基础流程框架 3 сар өмнө
database df725a8313 标准编制依据库查询 3 сар өмнө
foundation 82fcabb22e 增加部署说明和案例测试修改 3 сар өмнө
server 9ed6578b53 基础流程框架 3 сар өмнө
temp df725a8313 标准编制依据库查询 3 сар өмнө
test 40c34354ce v0.0.2-AI审查模型测试 3 сар өмнө
views 82fcabb22e 增加部署说明和案例测试修改 3 сар өмнө
.gitignore 40c34354ce v0.0.2-AI审查模型测试 3 сар өмнө
Dockerfile 82fcabb22e 增加部署说明和案例测试修改 3 сар өмнө
README.md a94966c2c6 增加向量化说明 3 сар өмнө
README_deploy.md 82fcabb22e 增加部署说明和案例测试修改 3 сар өмнө
build_graph_app.png 82fcabb22e 增加部署说明和案例测试修改 3 сар өмнө
gunicorn_config.py 551ffa2aed 初始框架提交 4 сар өмнө
requirements.txt 82fcabb22e 增加部署说明和案例测试修改 3 сар өмнө
run.sh 82fcabb22e 增加部署说明和案例测试修改 3 сар өмнө
test_document.pdf 9ed6578b53 基础流程框架 3 сар өмнө

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

向量检索测试