mirror of
https://github.com/zhengkai/orca.git
synced 2026-02-15 14:22:26 +08:00
up
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
BASE="${OPENAI_API_BASE:-https://api.openai.com/v1}"
|
||||
|
||||
curl -v "${BASE}/moderations" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer ${OPENAI_API_KEY}" \
|
||||
-d '{"input": "你媽逼啊"}' \
|
||||
| jq . -
|
||||
-w "Total time: %{time_total} seconds\n" \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer ${OPENAI_API_KEY}" \
|
||||
-d '{"input": "你媽逼啊"}'
|
||||
|
||||
Reference in New Issue
Block a user