Playground
Chat completions
POST /v1/chat/completions בפורמט של OpenAI, עם סטרימינג או בלעדיו.
POST
https://api.notholy.com/v1/chat/completionsPOST https://api.notholy.com/v1/chat/completionsנשמר רק בלשונית הדפדפן הזו ונשלח רק ל-api.notholy.com.
כדי לשלוח את הבקשה צריך להדביק מפתח API.
אחרי שליחת בקשה, התגובה הגולמית תופיע כאן.אותה בקשה עם curl
curl -X POST https://api.notholy.com/v1/chat/completions \
-H "Authorization: Bearer $NOTHOLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "notholy-specter",
"messages": [
{
"role": "user",
"content": "List three checks for an SSRF fix."
}
],
"max_tokens": 400
}'