fix code
Browse files- function_call_guide.md +2 -2
- function_call_guide_cn.md +2 -2
function_call_guide.md
CHANGED
@@ -102,7 +102,7 @@ Function calls need to be defined in the `tools` field of the request body. Each
|
|
102 |
When processed internally by the model, function definitions are converted to a special format and concatenated to the input text:
|
103 |
|
104 |
```
|
105 |
-
]~!b[]~b]system ai_setting=
|
106 |
MiniMax AI is an AI assistant independently developed by MiniMax. [e~[
|
107 |
]~b]system tool_setting=tools
|
108 |
You are provided with these tools:
|
@@ -117,7 +117,7 @@ If you need to call tools, please respond with <tool_calls></tool_calls> XML tag
|
|
117 |
</tool_calls>[e~[
|
118 |
]~b]user name=User
|
119 |
When were the most recent launch events for OpenAI and Gemini?[e~[
|
120 |
-
]~b]ai name=
|
121 |
```
|
122 |
|
123 |
### Model Output Format
|
|
|
102 |
When processed internally by the model, function definitions are converted to a special format and concatenated to the input text:
|
103 |
|
104 |
```
|
105 |
+
]~!b[]~b]system ai_setting=MiniMax AI
|
106 |
MiniMax AI is an AI assistant independently developed by MiniMax. [e~[
|
107 |
]~b]system tool_setting=tools
|
108 |
You are provided with these tools:
|
|
|
117 |
</tool_calls>[e~[
|
118 |
]~b]user name=User
|
119 |
When were the most recent launch events for OpenAI and Gemini?[e~[
|
120 |
+
]~b]ai name=MiniMax AI
|
121 |
```
|
122 |
|
123 |
### Model Output Format
|
function_call_guide_cn.md
CHANGED
@@ -100,7 +100,7 @@ text = tokenizer.apply_chat_template(
|
|
100 |
在模型内部处理时,函数定义会被转换为特殊格式并拼接到输入文本中:
|
101 |
|
102 |
```
|
103 |
-
]~!b[]~b]system ai_setting
|
104 |
MiniMax AI是由上海稀宇科技有限公司(MiniMax)自主研发的AI助理。[e~[
|
105 |
]~b]system tool_setting=tools
|
106 |
You are provided with these tools:
|
@@ -115,7 +115,7 @@ If you need to call tools, please respond with <tool_calls></tool_calls> XML tag
|
|
115 |
</tool_calls>[e~[
|
116 |
]~b]user name=用户
|
117 |
OpenAI 和 Gemini 的最近一次发布会都是什么时候?[e~[
|
118 |
-
]~b]ai name
|
119 |
```
|
120 |
|
121 |
### 模型输出格式
|
|
|
100 |
在模型内部处理时,函数定义会被转换为特殊格式并拼接到输入文本中:
|
101 |
|
102 |
```
|
103 |
+
]~!b[]~b]system ai_setting=MiniMax AI
|
104 |
MiniMax AI是由上海稀宇科技有限公司(MiniMax)自主研发的AI助理。[e~[
|
105 |
]~b]system tool_setting=tools
|
106 |
You are provided with these tools:
|
|
|
115 |
</tool_calls>[e~[
|
116 |
]~b]user name=用户
|
117 |
OpenAI 和 Gemini 的最近一次发布会都是什么时候?[e~[
|
118 |
+
]~b]ai name=MiniMax AI
|
119 |
```
|
120 |
|
121 |
### 模型输出格式
|