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**
|
**Example Request**
|
||||||
|
|
||||||
|
- Claude 3.7 Sonnet
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl $OPENAI_BASE_URL/chat/completions \
|
curl $OPENAI_BASE_URL/chat/completions \
|
||||||
-H "Content-Type: application/json" \
|
-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**
|
**Example Response**
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|||||||
@@ -329,6 +329,8 @@ You can try it with different questions, such as:
|
|||||||
|
|
||||||
**Request 示例**
|
**Request 示例**
|
||||||
|
|
||||||
|
- Claude 3.7 Sonnet
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl $OPENAI_BASE_URL/chat/completions \
|
curl $OPENAI_BASE_URL/chat/completions \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
@@ -347,6 +349,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
|
||||||
|
}'
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
**Response 示例**
|
**Response 示例**
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user