quicknote/aldebaran/sh/playbook_test.sh

30 lines
1020 B
Bash

curl -X POST http://localhost:8000/api/v1/playbook/export \
-H "Content-Type: application/json" \
-d '{"handbook_id": "pb_EXEC-RPT-SALES-PLAYBOOK-20250219-001-001", "tenant_id": "PINGCAP"}'
curl -X POST http://115.190.93.102:8001/api/v1/playbook/export \
-H "Content-Type: application/json" \
-d '{"handbook_id": "pb_EXEC-RPT-SALES-PLAYBOOK-20250219-001-001", "tenant_id": "PINGCAP"}' \
--output playbook.xlsx
curl -X POST "https://staging-api.aptsell.ai/backend/api/v1/chats" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{"role": "user", "content": "What are the main features of your product?"}
],
"chat_engine": "default",
"stream": false
}'
curl --request GET --url http://115.190.93.102:8001/api/v1/tasks/VeSOFrCjT0GFJU7kO7yutw/stream
curl --request GET --url http://115.190.93.102:8001/api/v1/tasks/VeSOFrCjT0GFJU7kO7yutw/stream
curl --request GET --url http://localhost:8000/api/v1/tasks/EXEC-RPT-PRE-VISIT-HANDBOOK-20250318-01-001/stream