llm_hub/apitest/api_test_local.sh

29 lines
1.1 KiB
Bash
Raw 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":"我负责的广汽汇理汽车金融有限公司商机项目目前处于什么销售阶段用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"
}'