Created
May 24, 2025 01:25
-
-
Save CoffeeVampir3/9e782de0921d57b8dc5cfb2e7899d9c2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TOOL_CALLS][{"name": "add", "arguments": {"a": 5, "b": 3}}][/TOOL_CALLS] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<BOS_TOKEN>[SYSTEM_PROMPT]You are a helpful assistant with access to computational tools.[/SYSTEM_PROMPT][AVAILABLE_TOOLS][ | |
{ | |
"type": "function", | |
"function": { | |
"name": "add", | |
"description": "Add two numbers together", | |
"parameters": { | |
"type": "object", | |
"properties": { | |
"a": { | |
"type": "number", | |
"description": "The first number to add" | |
}, | |
"b": { | |
"type": "number", | |
"description": "The second number to add" | |
} | |
}, | |
"required": ["a", "b"] | |
} | |
} | |
} | |
][/AVAILABLE_TOOLS][INST]What tools do you have available?[/INST]I have access to the following tool: | |
- **add**: A function that adds two numbers together. It takes two parameters: | |
- a: The first number to add | |
- b: The second number to add<EOS_TOKEN>[INST]Can you calculate 15 + 27 for me?[/INST][TOOL_CALLS][{"name": "add", "arguments": {"a": 15, "b": 27}}][/TOOL_CALLS] | |
[TOOL_RESULTS][{"name": "add", "result": 42}][/TOOL_RESULTS]The result of adding 15 + 27 is 42.<EOS_TOKEN>[INST]Thanks! Now what's 100 + 250?[/INST][TOOL_CALLS][{"name": "add", "arguments": {"a": 100, "b": 250}}][/TOOL_CALLS] | |
[TOOL_RESULTS][{"name": "add", "result": 350}][/TOOL_RESULTS]The result of adding 100 + 250 is 350.<EOS_TOKEN> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<BOS_TOKEN>[SYSTEM_PROMPT]You are a helpful assistant with access to tools.[/SYSTEM_PROMPT][AVAILABLE_TOOLS][ | |
{ | |
"type": "function", | |
"function": { | |
"name": "add", | |
"description": "Add two numbers together", | |
"parameters": { | |
"type": "object", | |
"properties": { | |
"a": { | |
"type": "number", | |
"description": "The first number to add" | |
}, | |
"b": { | |
"type": "number", | |
"description": "The second number to add" | |
} | |
}, | |
"required": ["a", "b"] | |
} | |
} | |
} | |
][/AVAILABLE_TOOLS][INST]What is 5 + 3?[/INST] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TOOL_RESULTS]{"name": "add", "result": 8}[/TOOL_RESULTS] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment