|
|
vor 3 Monaten | |
|---|---|---|
| config | vor 3 Monaten | |
| core | vor 3 Monaten | |
| data_pipeline | vor 3 Monaten | |
| database | vor 3 Monaten | |
| foundation | vor 3 Monaten | |
| server | vor 3 Monaten | |
| temp | vor 3 Monaten | |
| test | vor 3 Monaten | |
| views | vor 3 Monaten | |
| .gitignore | vor 3 Monaten | |
| Dockerfile | vor 4 Monaten | |
| README.md | vor 3 Monaten | |
| gunicorn_config.py | vor 4 Monaten | |
| requirements.txt | vor 3 Monaten | |
| run.sh | vor 4 Monaten | |
| test_document.pdf | vor 3 Monaten |
### LQAgentPlatform 智能体应用服务
后端启动服务
pip install aioredis -i https://mirrors.aliyun.com/pypi/simple/ pip install langgraph-checkpoint-postgres -i https://mirrors.aliyun.com/pypi/simple/ pip install langchain-redis -i https://mirrors.aliyun.com/pypi/simple/
#### 生成模型接口
- 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": "查询信息"
}