cc-api / readme.md
Severian's picture
Upload 81 files
995af0f verified
|
raw
history blame
467 Bytes
conda activate cc-api
pip install -r requirements.txt
uvicorn api:app --reload --port 8224
cloudflared tunnel --url localhost:8224
pip install -e .
curl -X POST https://advertisement-recent-play-hits.trycloudflare.com/v1/agent \
-H "Content-Type: application/json" \
-d '{
"query": "Show me the number of elderly (over 70) fall injuries in Illinois",
"stream": true,
"inputs": {},
"files": [],
"user": "default_user",
"response_mode": "streaming"
}'