路桥智能体平台

WangXuMing 83fdbf5c7d 调试-debug 2 달 전
config 7328883687 v0.0.3-foundation模块基础重构 2 달 전
core cfa7203c55 dev:优化文件处理模块的外部引用问题; 2 달 전
data_pipeline 9ed6578b53 基础流程框架 3 달 전
database 7328883687 v0.0.3-foundation模块基础重构 2 달 전
docker 84aea1d204 修改docker 打包相关配置文件 3 달 전
foundation 8460e15e6f v0.0.3-milvus全文检索依赖跟新 2 달 전
logs 7328883687 v0.0.3-foundation模块基础重构 2 달 전
server 7328883687 v0.0.3-foundation模块基础重构 2 달 전
temp 5c87b467e7 v0.0.3-lq异构模型接入 2 달 전
test 7328883687 v0.0.3-foundation模块基础重构 2 달 전
views 7328883687 v0.0.3-foundation模块基础重构 2 달 전
.gitignore 6f343c6bfe ai_review_workflow 检查点 2 달 전
Dockerfile 0ff9abb748 恢复pip 依赖安装 2 달 전
README.md 3f2a38245d v0.0.2-实现总体流程sse进度推送 3 달 전
README_deploy.md 84aea1d204 修改docker 打包相关配置文件 3 달 전
build_graph_app.png 0fd1218699 v0.0.3-异常关闭逻辑修复 2 달 전
gunicorn_config.py 551ffa2aed 初始框架提交 4 달 전
requirements.txt 83fdbf5c7d 调试-debug 2 달 전
run.sh 84aea1d204 修改docker 打包相关配置文件 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 数据库操作测试

向量检索测试