kgrabko commited on
Commit
437ca1c
·
verified ·
1 Parent(s): 08fa0dd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -0
README.md CHANGED
@@ -232,6 +232,38 @@ For each function call, return a json object with function name and arguments wi
232
  <|im_end|>
233
  ```
234
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
235
 
236
 
237
  ### Special Tokens Support
 
232
  <|im_end|>
233
  ```
234
 
235
+ - User message:
236
+
237
+ ```bash
238
+ <|im_start|>user
239
+ What's the weather like in Tokyo right now?<|im_end|>
240
+ ```
241
+
242
+ - Assistant message (model emits the tool call instead of a normal answer):
243
+
244
+ ```bash
245
+ <|im_start|>assistant
246
+ <tool_call>
247
+ {"name": "get_weather", "arguments": {"location": "Tokyo", "unit": "celsius"}}
248
+ </tool_call><|im_end|>
249
+ ```
250
+
251
+ - Tool result message (your agent code executes the function and feeds the result back):
252
+
253
+ ```bash
254
+ <|im_start|>tool
255
+ <tool_response>
256
+ {"temperature": 22, "condition": "clear sky", "humidity": 48}
257
+ </tool_response>
258
+ <|im_end|>
259
+ ```
260
+
261
+ - Final assistant message (model now answers using the result):
262
+
263
+ ```bash
264
+ <|im_start|>assistant
265
+ It's currently 22°C and clear in Tokyo, with 48% humidity.<|im_end|>
266
+ ```
267
 
268
 
269
  ### Special Tokens Support