llm_hub/apitest/api_test_local.sh

88 lines
3.3 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":"我在广汽汇理汽车金融有限公司项目上做了哪些工作",
"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"
}'
curl -N -X POST http://127.0.0.1:5002/api/v2/zhipu/analysis/stream \
-H "Content-Type: application/json" \
-d '{
"message":"分析商机广汽汇理汽车金融有限公司的商机建议",
"knowledge_id":"1843318172036575232"
}'
curl -N -X POST http://127.0.0.1:5002/api/v2/zhipu/analysis/stream \
-H "Content-Type: application/json" \
-d '{
"message":"2. 更新我负责的广汽汇理汽车金融有限公司项目的最新动作:1今日和客户有做了一次技术交流他们最近和Ocean Base和Gold DB也做了交流以及内部也做了沟通接下来他们希望能够拿出一个业务场景做测试已确定哪个产品更适合他们。",
"knowledge_id":"1843318172036575232"
}'
curl -N -X POST http://127.0.0.1:5002/api/v2/zhipu/analysis/stream \
-H "Content-Type: application/json" \
-d '{
"message":"更新我负责的广汽汇理汽车金融有限公司项目的最新动作:已经完成了POC客户对POC效果表示满意",
"knowledge_id":"1843318172036575232"
}'
curl -N -X POST http://127.0.0.1:5002/api/v2/zhipu/analysis/stream \
-H "Content-Type: application/json" \
-d '{
"message":"openai",
"knowledge_id":"1843318172036575232"
}'
curl -N -X POST http://127.0.0.1:5002/api/v2/zhipu/analysis/stream \
-H "Content-Type: application/json" \
-d '{
"message":"zhipu",
"knowledge_id":"1843318172036575232"
}'