路桥智能体平台

ChenJiSheng c1c24c609e dev:精简冗余 3 mēneši atpakaļ
config 3859ab37b5 向量库案例测试 3 mēneši atpakaļ
core c1c24c609e dev:精简冗余 3 mēneši atpakaļ
data_pipeline 9ed6578b53 基础流程框架 3 mēneši atpakaļ
database df725a8313 标准编制依据库查询 3 mēneši atpakaļ
foundation 3859ab37b5 向量库案例测试 3 mēneši atpakaļ
server 9ed6578b53 基础流程框架 3 mēneši atpakaļ
temp df725a8313 标准编制依据库查询 3 mēneši atpakaļ
test 40c34354ce v0.0.2-AI审查模型测试 3 mēneši atpakaļ
views 3859ab37b5 向量库案例测试 3 mēneši atpakaļ
.gitignore 40c34354ce v0.0.2-AI审查模型测试 3 mēneši atpakaļ
Dockerfile 551ffa2aed 初始框架提交 4 mēneši atpakaļ
README.md a94966c2c6 增加向量化说明 3 mēneši atpakaļ
build_graph_app.png a130cf7c06 增加MySQL接入 3 mēneši atpakaļ
gunicorn_config.py 551ffa2aed 初始框架提交 4 mēneši atpakaļ
requirements.txt df725a8313 标准编制依据库查询 3 mēneši atpakaļ
run.sh 551ffa2aed 初始框架提交 4 mēneši atpakaļ
test_document.pdf 9ed6578b53 基础流程框架 3 mēneši atpakaļ

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

向量检索测试