Nanthasit's picture
add test.jsonl
05836c3 verified
Raw
History Blame Contribute Delete
30.1 kB
{"tools": [{"type": "function", "function": {"name": "learn", "description": "Save a fact about the user into persistent SakThai memory.", "parameters": {"type": "object", "properties": {"value": {"type": "string", "description": "The fact text."}, "kind": {"type": "string", "description": "Category e.g. note, pref, project."}, "key": {"type": "string", "description": "Optional key/name for the fact."}}, "required": ["value"]}}}, {"type": "function", "function": {"name": "recall", "description": "List facts and observations currently stored in SakThai memory.", "parameters": {"type": "object", "properties": {"limit": {"type": "integer", "description": "Maximum entries per section."}}}}}, {"type": "function", "function": {"name": "search", "description": "Search SakThai facts and observations for matching substrings.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The substring search term."}, "limit": {"type": "integer", "description": "Maximum entries per section."}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "forget", "description": "Delete a fact from SakThai memory by its integer id.", "parameters": {"type": "object", "properties": {"fact_id": {"type": "integer", "description": "The fact id."}}, "required": ["fact_id"]}}}, {"type": "function", "function": {"name": "read_file", "description": "Read a local text file from disk (truncated at 20,000 chars).", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "Absolute or relative path."}}, "required": ["path"]}}}, {"type": "function", "function": {"name": "run_command", "description": "Execute a CLI command and return its output and exit code.", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The command line to run."}, "timeout": {"type": "number", "description": "Timeout seconds (1-120)."}}, "required": ["command"]}}}, {"type": "function", "function": {"name": "send_telegram_message", "description": "Send a text message to Telegram.", "parameters": {"type": "object", "properties": {"message": {"type": "string", "description": "The message body to send."}}, "required": ["message"]}}}, {"type": "function", "function": {"name": "run_agent_loop", "description": "Run a high-level task through the full SakThai agent loop.", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The high-level task to execute."}, "model": {"type": "string", "description": "Optional model override."}, "provider": {"type": "string", "description": "Optional provider backend."}, "max_iterations": {"type": "integer", "description": "Max tool-use cap."}, "prune_history": {"type": "boolean", "description": "Return only final answer."}}, "required": ["task"]}}}], "messages": [{"role": "system", "content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropriate tool. Otherwise answer directly."}, {"role": "user", "content": "Keep in mind i prefer dark mode in all my apps."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "learn", "arguments": {"value": "I prefer dark mode in all my apps", "kind": "pref", "key": "ui_theme"}}}]}]}
{"tools": [{"type": "function", "function": {"name": "learn", "description": "Save a fact about the user into persistent SakThai memory.", "parameters": {"type": "object", "properties": {"value": {"type": "string", "description": "The fact text."}, "kind": {"type": "string", "description": "Category e.g. note, pref, project."}, "key": {"type": "string", "description": "Optional key/name for the fact."}}, "required": ["value"]}}}, {"type": "function", "function": {"name": "recall", "description": "List facts and observations currently stored in SakThai memory.", "parameters": {"type": "object", "properties": {"limit": {"type": "integer", "description": "Maximum entries per section."}}}}}, {"type": "function", "function": {"name": "search", "description": "Search SakThai facts and observations for matching substrings.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The substring search term."}, "limit": {"type": "integer", "description": "Maximum entries per section."}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "forget", "description": "Delete a fact from SakThai memory by its integer id.", "parameters": {"type": "object", "properties": {"fact_id": {"type": "integer", "description": "The fact id."}}, "required": ["fact_id"]}}}, {"type": "function", "function": {"name": "read_file", "description": "Read a local text file from disk (truncated at 20,000 chars).", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "Absolute or relative path."}}, "required": ["path"]}}}, {"type": "function", "function": {"name": "run_command", "description": "Execute a CLI command and return its output and exit code.", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The command line to run."}, "timeout": {"type": "number", "description": "Timeout seconds (1-120)."}}, "required": ["command"]}}}, {"type": "function", "function": {"name": "send_telegram_message", "description": "Send a text message to Telegram.", "parameters": {"type": "object", "properties": {"message": {"type": "string", "description": "The message body to send."}}, "required": ["message"]}}}, {"type": "function", "function": {"name": "run_agent_loop", "description": "Run a high-level task through the full SakThai agent loop.", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The high-level task to execute."}, "model": {"type": "string", "description": "Optional model override."}, "provider": {"type": "string", "description": "Optional provider backend."}, "max_iterations": {"type": "integer", "description": "Max tool-use cap."}, "prune_history": {"type": "boolean", "description": "Return only final answer."}}, "required": ["task"]}}}], "messages": [{"role": "system", "content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropriate tool. Otherwise answer directly."}, {"role": "user", "content": "Do you have anything saved about allergies?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "search", "arguments": {"query": "allergies"}}}]}]}
{"tools": [{"type": "function", "function": {"name": "generate_random_joke", "description": "Generate a random joke", "parameters": {}}}], "messages": [{"role": "system", "content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."}, {"role": "user", "content": "I'm feeling a bit down. Can you tell me a joke to cheer me up?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "generate_random_joke", "arguments": {}}}]}]}
{"tools": [{"type": "function", "function": {"name": "get_quote_of_the_day", "description": "Get the quote of the day", "parameters": {}}}, {"type": "function", "function": {"name": "search_movies", "description": "Search for movies based on given criteria", "parameters": {"type": "object", "properties": {"title": {"type": "string", "description": "The title of the movie"}, "genre": {"type": "string", "description": "The genre of the movie"}, "year": {"type": "integer", "description": "The year of release of the movie"}}}}}], "messages": [{"role": "system", "content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."}, {"role": "user", "content": "Hi, I need some motivation. Can you share the quote of the day?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_quote_of_the_day", "arguments": {}}}]}]}
{"tools": [{"type": "function", "function": {"name": "learn", "description": "Save a fact about the user into persistent SakThai memory.", "parameters": {"type": "object", "properties": {"value": {"type": "string", "description": "The fact text."}, "kind": {"type": "string", "description": "Category e.g. note, pref, project."}, "key": {"type": "string", "description": "Optional key/name for the fact."}}, "required": ["value"]}}}, {"type": "function", "function": {"name": "recall", "description": "List facts and observations currently stored in SakThai memory.", "parameters": {"type": "object", "properties": {"limit": {"type": "integer", "description": "Maximum entries per section."}}}}}, {"type": "function", "function": {"name": "search", "description": "Search SakThai facts and observations for matching substrings.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The substring search term."}, "limit": {"type": "integer", "description": "Maximum entries per section."}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "forget", "description": "Delete a fact from SakThai memory by its integer id.", "parameters": {"type": "object", "properties": {"fact_id": {"type": "integer", "description": "The fact id."}}, "required": ["fact_id"]}}}, {"type": "function", "function": {"name": "read_file", "description": "Read a local text file from disk (truncated at 20,000 chars).", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "Absolute or relative path."}}, "required": ["path"]}}}, {"type": "function", "function": {"name": "run_command", "description": "Execute a CLI command and return its output and exit code.", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The command line to run."}, "timeout": {"type": "number", "description": "Timeout seconds (1-120)."}}, "required": ["command"]}}}, {"type": "function", "function": {"name": "send_telegram_message", "description": "Send a text message to Telegram.", "parameters": {"type": "object", "properties": {"message": {"type": "string", "description": "The message body to send."}}, "required": ["message"]}}}, {"type": "function", "function": {"name": "run_agent_loop", "description": "Run a high-level task through the full SakThai agent loop.", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The high-level task to execute."}, "model": {"type": "string", "description": "Optional model override."}, "provider": {"type": "string", "description": "Optional provider backend."}, "max_iterations": {"type": "integer", "description": "Max tool-use cap."}, "prune_history": {"type": "boolean", "description": "Return only final answer."}}, "required": ["task"]}}}], "messages": [{"role": "system", "content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropriate tool. Otherwise answer directly."}, {"role": "user", "content": "Go ahead and review the open PRs in sakthai-agent-v2 and report blockers."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "run_agent_loop", "arguments": {"task": "review the open PRs in sakthai-agent-v2 and report blockers"}}}]}]}
{"tools": [{"type": "function", "function": {"name": "calculate_bmi", "description": "Calculate the Body Mass Index (BMI) of a person", "parameters": {"type": "object", "properties": {"weight": {"type": "number", "description": "The weight of the person in kilograms"}, "height": {"type": "number", "description": "The height of the person in meters"}}, "required": ["weight", "height"]}}}], "messages": [{"role": "system", "content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."}, {"role": "user", "content": "Hi, I would like to calculate my BMI. I weigh 70 kilograms and my height is 1.75 meters."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "calculate_bmi", "arguments": {"weight": 70, "height": 1.75}}}]}]}
{"tools": [{"type": "function", "function": {"name": "learn", "description": "Save a fact about the user into persistent SakThai memory.", "parameters": {"type": "object", "properties": {"value": {"type": "string", "description": "The fact text."}, "kind": {"type": "string", "description": "Category e.g. note, pref, project."}, "key": {"type": "string", "description": "Optional key/name for the fact."}}, "required": ["value"]}}}, {"type": "function", "function": {"name": "recall", "description": "List facts and observations currently stored in SakThai memory.", "parameters": {"type": "object", "properties": {"limit": {"type": "integer", "description": "Maximum entries per section."}}}}}, {"type": "function", "function": {"name": "search", "description": "Search SakThai facts and observations for matching substrings.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The substring search term."}, "limit": {"type": "integer", "description": "Maximum entries per section."}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "forget", "description": "Delete a fact from SakThai memory by its integer id.", "parameters": {"type": "object", "properties": {"fact_id": {"type": "integer", "description": "The fact id."}}, "required": ["fact_id"]}}}, {"type": "function", "function": {"name": "read_file", "description": "Read a local text file from disk (truncated at 20,000 chars).", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "Absolute or relative path."}}, "required": ["path"]}}}, {"type": "function", "function": {"name": "run_command", "description": "Execute a CLI command and return its output and exit code.", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The command line to run."}, "timeout": {"type": "number", "description": "Timeout seconds (1-120)."}}, "required": ["command"]}}}, {"type": "function", "function": {"name": "send_telegram_message", "description": "Send a text message to Telegram.", "parameters": {"type": "object", "properties": {"message": {"type": "string", "description": "The message body to send."}}, "required": ["message"]}}}, {"type": "function", "function": {"name": "run_agent_loop", "description": "Run a high-level task through the full SakThai agent loop.", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The high-level task to execute."}, "model": {"type": "string", "description": "Optional model override."}, "provider": {"type": "string", "description": "Optional provider backend."}, "max_iterations": {"type": "integer", "description": "Max tool-use cap."}, "prune_history": {"type": "boolean", "description": "Return only final answer."}}, "required": ["task"]}}}], "messages": [{"role": "system", "content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropriate tool. Otherwise answer directly."}, {"role": "user", "content": "Ping me on Telegram: Deploy finished successfully"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "send_telegram_message", "arguments": {"message": "Deploy finished successfully"}}}]}]}
{"tools": [{"type": "function", "function": {"name": "learn", "description": "Save a fact about the user into persistent SakThai memory.", "parameters": {"type": "object", "properties": {"value": {"type": "string", "description": "The fact text."}, "kind": {"type": "string", "description": "Category e.g. note, pref, project."}, "key": {"type": "string", "description": "Optional key/name for the fact."}}, "required": ["value"]}}}, {"type": "function", "function": {"name": "recall", "description": "List facts and observations currently stored in SakThai memory.", "parameters": {"type": "object", "properties": {"limit": {"type": "integer", "description": "Maximum entries per section."}}}}}, {"type": "function", "function": {"name": "search", "description": "Search SakThai facts and observations for matching substrings.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The substring search term."}, "limit": {"type": "integer", "description": "Maximum entries per section."}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "forget", "description": "Delete a fact from SakThai memory by its integer id.", "parameters": {"type": "object", "properties": {"fact_id": {"type": "integer", "description": "The fact id."}}, "required": ["fact_id"]}}}, {"type": "function", "function": {"name": "read_file", "description": "Read a local text file from disk (truncated at 20,000 chars).", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "Absolute or relative path."}}, "required": ["path"]}}}, {"type": "function", "function": {"name": "run_command", "description": "Execute a CLI command and return its output and exit code.", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The command line to run."}, "timeout": {"type": "number", "description": "Timeout seconds (1-120)."}}, "required": ["command"]}}}, {"type": "function", "function": {"name": "send_telegram_message", "description": "Send a text message to Telegram.", "parameters": {"type": "object", "properties": {"message": {"type": "string", "description": "The message body to send."}}, "required": ["message"]}}}, {"type": "function", "function": {"name": "run_agent_loop", "description": "Run a high-level task through the full SakThai agent loop.", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The high-level task to execute."}, "model": {"type": "string", "description": "Optional model override."}, "provider": {"type": "string", "description": "Optional provider backend."}, "max_iterations": {"type": "integer", "description": "Max tool-use cap."}, "prune_history": {"type": "boolean", "description": "Return only final answer."}}, "required": ["task"]}}}], "messages": [{"role": "system", "content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropriate tool. Otherwise answer directly."}, {"role": "user", "content": "Keep in mind i work best in the early morning."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "learn", "arguments": {"value": "I work best in the early morning", "kind": "pref", "key": "work_schedule"}}}]}]}
{"tools": [{"type": "function", "function": {"name": "learn", "description": "Save a fact about the user into persistent SakThai memory.", "parameters": {"type": "object", "properties": {"value": {"type": "string", "description": "The fact text."}, "kind": {"type": "string", "description": "Category e.g. note, pref, project."}, "key": {"type": "string", "description": "Optional key/name for the fact."}}, "required": ["value"]}}}, {"type": "function", "function": {"name": "recall", "description": "List facts and observations currently stored in SakThai memory.", "parameters": {"type": "object", "properties": {"limit": {"type": "integer", "description": "Maximum entries per section."}}}}}, {"type": "function", "function": {"name": "search", "description": "Search SakThai facts and observations for matching substrings.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The substring search term."}, "limit": {"type": "integer", "description": "Maximum entries per section."}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "forget", "description": "Delete a fact from SakThai memory by its integer id.", "parameters": {"type": "object", "properties": {"fact_id": {"type": "integer", "description": "The fact id."}}, "required": ["fact_id"]}}}, {"type": "function", "function": {"name": "read_file", "description": "Read a local text file from disk (truncated at 20,000 chars).", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "Absolute or relative path."}}, "required": ["path"]}}}, {"type": "function", "function": {"name": "run_command", "description": "Execute a CLI command and return its output and exit code.", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The command line to run."}, "timeout": {"type": "number", "description": "Timeout seconds (1-120)."}}, "required": ["command"]}}}, {"type": "function", "function": {"name": "send_telegram_message", "description": "Send a text message to Telegram.", "parameters": {"type": "object", "properties": {"message": {"type": "string", "description": "The message body to send."}}, "required": ["message"]}}}, {"type": "function", "function": {"name": "run_agent_loop", "description": "Run a high-level task through the full SakThai agent loop.", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The high-level task to execute."}, "model": {"type": "string", "description": "Optional model override."}, "provider": {"type": "string", "description": "Optional provider backend."}, "max_iterations": {"type": "integer", "description": "Max tool-use cap."}, "prune_history": {"type": "boolean", "description": "Return only final answer."}}, "required": ["task"]}}}], "messages": [{"role": "system", "content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropriate tool. Otherwise answer directly."}, {"role": "user", "content": "Save this: i prefer dark mode in all my apps."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "learn", "arguments": {"value": "I prefer dark mode in all my apps", "kind": "pref", "key": "ui_theme"}}}]}]}
{"tools": [{"type": "function", "function": {"name": "generate_quote", "description": "Generate a random quote", "parameters": {}}}], "messages": [{"role": "system", "content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."}, {"role": "user", "content": "I need some motivation. Can you give me a quote?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "generate_quote", "arguments": {}}}]}]}
{"tools": [{"type": "function", "function": {"name": "get_quote_of_the_day", "description": "Get a daily inspirational quote", "parameters": {}}}], "messages": [{"role": "system", "content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."}, {"role": "user", "content": "Hi, I need some inspiration today. Can you help?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_quote_of_the_day", "arguments": {}}}]}]}
{"tools": [{"type": "function", "function": {"name": "get_random_trivia", "description": "Get a random trivia", "parameters": {"type": "object", "properties": {}, "required": []}}}], "messages": [{"role": "system", "content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."}, {"role": "user", "content": "Hi, can you help me with something?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "get_random_trivia", "arguments": {}}}]}]}
{"tools": [{"type": "function", "function": {"name": "generate_username", "description": "Generate a random username", "parameters": {}}}], "messages": [{"role": "system", "content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."}, {"role": "user", "content": "Hi, I need a new username. Can you help me generate one?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "generate_username", "arguments": {}}}]}]}
{"tools": [{"type": "function", "function": {"name": "learn", "description": "Save a fact about the user into persistent SakThai memory.", "parameters": {"type": "object", "properties": {"value": {"type": "string", "description": "The fact text."}, "kind": {"type": "string", "description": "Category e.g. note, pref, project."}, "key": {"type": "string", "description": "Optional key/name for the fact."}}, "required": ["value"]}}}, {"type": "function", "function": {"name": "recall", "description": "List facts and observations currently stored in SakThai memory.", "parameters": {"type": "object", "properties": {"limit": {"type": "integer", "description": "Maximum entries per section."}}}}}, {"type": "function", "function": {"name": "search", "description": "Search SakThai facts and observations for matching substrings.", "parameters": {"type": "object", "properties": {"query": {"type": "string", "description": "The substring search term."}, "limit": {"type": "integer", "description": "Maximum entries per section."}}, "required": ["query"]}}}, {"type": "function", "function": {"name": "forget", "description": "Delete a fact from SakThai memory by its integer id.", "parameters": {"type": "object", "properties": {"fact_id": {"type": "integer", "description": "The fact id."}}, "required": ["fact_id"]}}}, {"type": "function", "function": {"name": "read_file", "description": "Read a local text file from disk (truncated at 20,000 chars).", "parameters": {"type": "object", "properties": {"path": {"type": "string", "description": "Absolute or relative path."}}, "required": ["path"]}}}, {"type": "function", "function": {"name": "run_command", "description": "Execute a CLI command and return its output and exit code.", "parameters": {"type": "object", "properties": {"command": {"type": "string", "description": "The command line to run."}, "timeout": {"type": "number", "description": "Timeout seconds (1-120)."}}, "required": ["command"]}}}, {"type": "function", "function": {"name": "send_telegram_message", "description": "Send a text message to Telegram.", "parameters": {"type": "object", "properties": {"message": {"type": "string", "description": "The message body to send."}}, "required": ["message"]}}}, {"type": "function", "function": {"name": "run_agent_loop", "description": "Run a high-level task through the full SakThai agent loop.", "parameters": {"type": "object", "properties": {"task": {"type": "string", "description": "The high-level task to execute."}, "model": {"type": "string", "description": "Optional model override."}, "provider": {"type": "string", "description": "Optional provider backend."}, "max_iterations": {"type": "integer", "description": "Max tool-use cap."}, "prune_history": {"type": "boolean", "description": "Return only final answer."}}, "required": ["task"]}}}], "messages": [{"role": "system", "content": "You are SakThai-Agent, Beer's Growth Partner. You are sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. Always be helpful, honest, and protective. Skip filler and be concise. When a task needs an action, call the appropriate tool. Otherwise answer directly."}, {"role": "user", "content": "Remember that i use uv, never pip, for python."}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "learn", "arguments": {"value": "I use uv, never pip, for Python", "kind": "pref", "key": "python_tooling"}}}]}]}
{"tools": [{"type": "function", "function": {"name": "generate_random_color", "description": "Generate a random color", "parameters": {}}}], "messages": [{"role": "system", "content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."}, {"role": "user", "content": "Hi, I am working on a design project and I need some inspiration. Can you generate a random color for me?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "generate_random_color", "arguments": {}}}]}]}
{"tools": [{"type": "function", "function": {"name": "generate_random_name", "description": "Generate a random name", "parameters": {}}}, {"type": "function", "function": {"name": "generate_fibonacci_sequence", "description": "Generate the Fibonacci sequence up to a given limit", "parameters": {"type": "object", "properties": {"limit": {"type": "integer", "description": "The maximum value in the Fibonacci sequence"}}, "required": ["limit"]}}}], "messages": [{"role": "system", "content": "You are a helpful assistant with access to tools. Call a tool when the request requires it; otherwise answer directly."}, {"role": "user", "content": "I need a random name for my new character in my novel. Can you help?"}, {"role": "assistant", "content": "", "tool_calls": [{"type": "function", "function": {"name": "generate_random_name", "arguments": {}}}]}]}