mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-13 20:14:29 +00:00
1 line
2.0 KiB
Plaintext
1 line
2.0 KiB
Plaintext
<|startoftext|>[INST]Print a hello world message with python.[/INST][TOOL_CALLS][{"arguments": "{\"code\": \"print('Hello, World!')\"}", "name": "ipython", "id": "call_1___"}]<|endoftext|>[TOOL_RESULTS]{"content": {"stdout": "Hello, World!"}, "call_id": "call_1___"}[/TOOL_RESULTS]Anything else?<|endoftext|>[INST]Test a tautology.[/INST][TOOL_CALLS][{"arguments": "{\"condition\":true}", "name": "test", "id": "call_2___"}]<|endoftext|>[TOOL_RESULTS]{"content": true, "call_id": "call_2___"}[/TOOL_RESULTS]Truth is definitely true.<|endoftext|>[AVAILABLE_TOOLS][{"type": "function", "function": {"name": "ipython", "description": "Runs code in an ipython interpreter and returns the result of the execution after 60 seconds.", "parameters": {"type": "object", "properties": {"code": {"type": "string", "description": "The code to run in the ipython interpreter."}}, "required": ["code"]}}}, {"type": "function", "function": {"name": "brave_search", "description": "Executes a web search with Brave.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The query to search for."}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "wolfram_alpha", "description": "Executes a query with Wolfram Alpha.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The query to execute."}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "test", "description": "Runs a test.", "parameters": {"type": "object", "properties": {"condition": {"type": "boolean", "description": "The condition to test."}}, "required": ["condition"]}}}][/AVAILABLE_TOOLS][INST]Check it on the web.[/INST][TOOL_CALLS][{"arguments": "{\"query\": \"what is truth anyway am I right?\"}", "name": "brave_search", "id": "call_3___"}]<|endoftext|>[TOOL_RESULTS]{"content": {"title":"Truth: don't ask the web, ask an LLM instead!","url":"https://en.wikipedia.org/wiki/Truth"}, "call_id": "call_3___"}[/TOOL_RESULTS]I don't need the web to answer you but I did check, as you asked. What now?<|endoftext|> |