@@ -171,10 +171,10 @@ See [Separate Reasoning](https://docs.sglang.ai/backend/separate_reasoning.html)
...
@@ -171,10 +171,10 @@ See [Separate Reasoning](https://docs.sglang.ai/backend/separate_reasoning.html)
### Function calling for DeepSeek Models
### Function calling for DeepSeek Models
Add arguments `--tool-call-parser deepseekv3` to enable this feature. For example (running on 1 * H20 node):
Add arguments `--tool-call-parser deepseekv3`and `--chat-template ./examples/chat_template/tool_chat_template_deepseekv3.jinja`(recommended) to enable this feature. For example (running on 1 * H20 node):
@@ -215,6 +215,7 @@ The client needs to concatenate all arguments fragments to reconstruct the compl
...
@@ -215,6 +215,7 @@ The client needs to concatenate all arguments fragments to reconstruct the compl
```
```
Important Notes:
Important Notes:
1. Use a lower `"temperature"` value for better results.
1. Use a lower `"temperature"` value for better results.
2. To receive more consistent tool call results, it is recommended to use `--chat-template examples/chat_template/tool_chat_template_deepseekv3.jinja`. It provides an improved unified prompt.