Update usage guide for deepseek-r1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user