We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a6f521 commit 90f4a92Copy full SHA for 90f4a92
a.sh
@@ -0,0 +1,33 @@
1
+curl -X POST "https://api.siliconflow.cn/v1/chat/completions" \
2
+ -H "Authorization: Bearer $SILICONFLOW_API_KEY" \
3
+ -H "Content-Type: application/json" \
4
+ -d '{
5
+ "model": "deepseek-ai/DeepSeek-V3",
6
+ "stream": true,
7
+ "messages": [
8
+ {
9
+ "role": "user",
10
+ "content": "今天天气好吗?"
11
+ },
12
13
+ "role": "assistant",
14
+ "content": "今天天气不错,要出去玩玩嘛?"
15
16
17
18
+ "content": "那你有什么地方推荐?"
19
20
21
22
+ "content": "我建议你去公园,春天来了,花朵开了,很美丽。"
23
24
25
26
+ "content": "给我推荐3个杭州的景点"
27
+ }
28
+ ],
29
+ "top_p": 0.8,
30
+ "top_k": -1,
31
+ "repetition_penalty": 0.8,
32
+ "max_tokens": 512
33
+ }'
0 commit comments