update function call guide
Browse files- function_call_guide.md +1 -1
- function_call_guide_cn.md +1 -1
function_call_guide.md
CHANGED
@@ -40,7 +40,7 @@ def get_default_tools():
|
|
40 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
41 |
prompt = "What's the weather like in Shanghai today?"
|
42 |
messages = [
|
43 |
-
{"role": "system", "content": [{"type": "text", "text": "You are a helpful assistant created by Minimax based on MiniMax-
|
44 |
{"role": "user", "content": [{"type": "text", "text": prompt}]},
|
45 |
]
|
46 |
|
|
|
40 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
41 |
prompt = "What's the weather like in Shanghai today?"
|
42 |
messages = [
|
43 |
+
{"role": "system", "content": [{"type": "text", "text": "You are a helpful assistant created by Minimax based on MiniMax-M1 model."}]},
|
44 |
{"role": "user", "content": [{"type": "text", "text": prompt}]},
|
45 |
]
|
46 |
|
function_call_guide_cn.md
CHANGED
@@ -38,7 +38,7 @@ def get_default_tools():
|
|
38 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
39 |
prompt = "What's the weather like in Shanghai today?"
|
40 |
messages = [
|
41 |
-
{"role": "system", "content": [{"type": "text", "text": "You are a helpful assistant created by Minimax based on MiniMax-
|
42 |
{"role": "user", "content": [{"type": "text", "text": prompt}]},
|
43 |
]
|
44 |
|
|
|
38 |
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
39 |
prompt = "What's the weather like in Shanghai today?"
|
40 |
messages = [
|
41 |
+
{"role": "system", "content": [{"type": "text", "text": "You are a helpful assistant created by Minimax based on MiniMax-M1 model."}]},
|
42 |
{"role": "user", "content": [{"type": "text", "text": prompt}]},
|
43 |
]
|
44 |
|