Hello,
my http-request to chatgpt always resuluts in this error:
Encountered internal server error. The tracking Id is 'c8b699f3-0424-4c5e-ba2d-8d328ab42e40'.
Thats the code I use, generated via playground.
curl https://api.openai.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "system",
"content": [
{
"type": "text",
"text": "Wie gehts?"
}
]
}
],
"response_format": {
"type": "text"
},
"temperature": 1,
"max_tokens": 2048,
"top_p": 1,
"frequency_penalty": 0,
"presence_penalty": 0
}'