Got Internal Server Error when CURL DeepSeek-R1 on Azure AI
Qumeng Sun
5
Reputation points
$ curl "https://ai-<XXX>.openai.azure.com/openai/deployments/DeepSeek-R1/chat/completions?api-version=2024-02-15-preview" \
-H "Content-Type: application/json" \
-H "api-key: <XXX>" \
-d '{
"messages": [{"role":"system","content":"<PROMPT>"}],
"max_tokens": 800,
"temperature": 0.7,
"frequency_penalty": 0,
"presence_penalty": 0,
"best_of": 1,
"top_p": 0.95,
"stop": null,
"model": "DeepSeek-R1"
}'
{"error":{"code":"InternalServerError","message":"Backend returned unexpected response. Please contact Microsoft for help."}}
Sign in to answer