Update usage guide for deepseek-r1

This commit is contained in:
Aiden Dai
2025-03-11 10:14:06 +08:00
parent 66b8967d30
commit 1a9c0f461e
2 changed files with 40 additions and 0 deletions

View File

@@ -331,6 +331,8 @@ You can try it with different questions, such as:
**Example Request**
- Claude 3.7 Sonnet
```bash
curl $OPENAI_BASE_URL/chat/completions \
-H "Content-Type: application/json" \
@@ -349,6 +351,24 @@ curl $OPENAI_BASE_URL/chat/completions \
}'
```
- DeepSeek R1
```bash
curl $OPENAI_BASE_URL/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"model": "us.deepseek.r1-v1:0",
"messages": [
{
"role": "user",
"content": "which one is bigger, 3.9 or 3.11?"
}
],
"stream": false
}'
```
**Example Response**
```json