You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/demo/8-tools.pdl
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,8 @@ text:
13
13
text: You are Granite, developed by IBM. You are a helpful AI assistant with access to the following tools. When a tool is required to answer the user's query, respond with <|tool_call|> followed by a JSON list of tools used. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request.
14
14
contribute: [context]
15
15
- role: tools
16
-
text: ${ tools }
16
+
content:
17
+
text: ${ tools }
17
18
contribute: [context]
18
19
- "Out of 1400 participants, 400 passed the test. What percentage is that?\n"
Copy file name to clipboardExpand all lines: examples/demo/9-react.pdl
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,8 @@ text:
30
30
text: You are Granite, developed by IBM. You are a helpful AI assistant with access to the following tools. When a tool is required to answer the user's query, respond with <|tool_call|> followed by a JSON list of tools used. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request.
Copy file name to clipboardExpand all lines: examples/react/demo.pdl
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,8 @@ text:
30
30
text: You are Granite, developed by IBM. You are a helpful AI assistant with access to the following tools. When a tool is required to answer the user's query, respond with <|tool_call|> followed by a JSON list of tools used. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request.
Copy file name to clipboardExpand all lines: examples/tools/calc.pdl
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,8 @@ text:
13
13
text: You are Granite, developed by IBM. You are a helpful AI assistant with access to the following tools. When a tool is required to answer the user's query, respond with <|tool_call|> followed by a JSON list of tools used. If a tool does not exist in the provided list of tools, notify the user that you do not have the ability to fulfill the request.
14
14
contribute: [context]
15
15
- role: tools
16
-
text: ${ tools }
16
+
content:
17
+
text: ${ tools }
17
18
contribute: [context]
18
19
- "Out of 1400 participants, 400 passed the test. What percentage is that?\n"
0 commit comments