llm_hub/apitest/api_test_local.sh

51 lines
2.0 KiB
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

curl -N -X POST http://127.0.0.1:5002/api/v2/zhipu/retrive/stream \
-H "Content-Type: application/json" \
-d '{
"message":"我负责的项目有哪些,用markdown表格形式输出输出字段客户名称 商机名称, Sales stage",
"knowledge_id":"1843318172036575232"
}'
curl -N -X POST http://127.0.0.1:5002/api/v2/zhipu/retrive/stream \
-H "Content-Type: application/json" \
-d '{
"message":"我负责的项目有哪些",
"knowledge_id":"1843318172036575232"
}'
curl -N -X POST http://127.0.0.1:5002/api/v2/zhipu/retrive/stream \
-H "Content-Type: application/json" \
-d '{
"message":"我在广汽汇理汽车金融有限公司项目上做了哪些工作",
"knowledge_id":"1843318172036575232"
}'
curl -N -X POST http://127.0.0.1:5002/api/v2/zhipu/retrive/stream \
-H "Content-Type: application/json" \
-d '{
"message":"我负责的广汽汇理汽车金融有限公司商机项目目前处于什么销售阶段用markdown表格形式输出输出字段客户名称 商机名称, Sales stage",
"knowledge_id":"1843318172036575232"
}'
curl -N -X POST http://127.0.0.1:5002/api/v2/zhipu/retrive/stream \
-H "Content-Type: application/json" \
-d '{
"message":"我负责的广汽汇理汽车金融有限公司商机项目目前处于什么销售阶段?",
"knowledge_id":"1843318172036575232"
}'
curl -N -X POST http://127.0.0.1:5002/api/v2/zhipu/retrive/stream \
-H "Content-Type: application/json" \
-d '{
"message":"生成视睿电子教学课件系统续费项目的日报",
"knowledge_id":"1843318172036575232"
}'
curl -N -X POST http://127.0.0.1:5002/api/v2/zhipu/retrive/stream \
-H "Content-Type: application/json" \
-d '{
"message":"视睿电子教学课件系统续费项目更新日志:**项目进展描述**了解到客户需求和降本要求后与项目经理杨建线下沟通。客户同意在剩余2套系统上增加模块但要求降价具体数 量待内部讨论。",
"knowledge_id":"1843318172036575232"
}'