JJJa commited on
Commit
570f431
·
verified ·
1 Parent(s): 82327a7

Fix a minor typo in `tool_call` tag in bonus-unit1/bonus-unit1.ipynb

Browse files

The original code mistakenly included an extra '<' character in the tool_call tag, which could have caused misunderstanding.

Files changed (1) hide show
  1. bonus-unit1/bonus-unit1.ipynb +1 -1
bonus-unit1/bonus-unit1.ipynb CHANGED
@@ -337,7 +337,7 @@
337
  "\n",
338
  "1. A *User message* containing the **necessary information with the list of available tools** inbetween `<tools></tools>` then the user query, here: `\"Can you get me the latest news headlines for the United States?\"`\n",
339
  "\n",
340
- "2. An *Assistant message* here called \"model\" to fit the criterias from gemma models containing two new phases, a **\"thinking\"** phase contained in `<think></think>` and an **\"Act\"** phase contained in `<tool_call></<tool_call>`.\n",
341
  "\n",
342
  "3. If the model contains a `<tools_call>`, we will append the result of this action in a new **\"Tool\"** message containing a `<tool_response></tool_response>` with the answer from the tool."
343
  ]
 
337
  "\n",
338
  "1. A *User message* containing the **necessary information with the list of available tools** inbetween `<tools></tools>` then the user query, here: `\"Can you get me the latest news headlines for the United States?\"`\n",
339
  "\n",
340
+ "2. An *Assistant message* here called \"model\" to fit the criterias from gemma models containing two new phases, a **\"thinking\"** phase contained in `<think></think>` and an **\"Act\"** phase contained in `<tool_call></tool_call>`.\n",
341
  "\n",
342
  "3. If the model contains a `<tools_call>`, we will append the result of this action in a new **\"Tool\"** message containing a `<tool_response></tool_response>` with the answer from the tool."
343
  ]