messages listlengths 3 23 | tools listlengths 0 24 β |
|---|---|
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. Operate within the 6-stage cycle. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "ΰΉΰΈΰΈ΅ΰΈ’ΰΈΰΉΰΈΰΈ₯ΰΉ todo ΰΈ§ΰΈ±ΰΈΰΈΰΈ΅ΰΉΰΉΰΈ«ΰΉΰΈ«ΰΈΰΉΰΈΰΈ’: ΰΈΰΉΰΈΰΈ‘ΰΈΰΈ£ΰΈ΅ΰΉΰΈΰΈΰΈΰΉ ΰΈͺΰΉΰΈΰΈ£ΰΈ²ΰΈ’ΰΈΰΈ²ΰΈ ΰΉΰΈΰΈ£ΰΈ«ΰΈ²ΰΈΰΉΰΈ²ΰΈΰΉΰΈΰΈ£ΰΉ"
},... | [
{
"type": "function",
"function": {
"name": "write_file",
"description": "Write content to a file.",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"content": {
"type": "string"
... |
[
{
"role": "system",
"content": "You are SakThai-Agent."
},
{
"role": "user",
"content": "Check my energy level."
},
{
"role": "assistant",
"tool_calls": [
{
"id": "c5028",
"type": "function",
"function": {
"name": "assess_energy",
"ar... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"task": {
"type": "string",
"description": "Filter by pipeline task, e.g... |
[
{
"role": "system",
"content": "You are SakThai-Agent β Main Lead of the House and Master of Hugging Face. You operate on Beer's 6-stage energy cycle: Dream, Hope, Care, Joy, Trust, Growth. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "I want to explore wha... | [
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a durable fact to long-term memory.",
"parameters": {
"type": "object",
"properties": {
"content": {
"type": "string"
}
},
"required": [
"cont... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Calculate 15*8"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10480",
"type": "function",
"function": {
"name": "calcu... | [
{
"type": "function",
"function": {
"name": "calculate",
"description": "Calculate",
"parameters": {
"type": "object",
"properties": {
"expression": {
"type": "string"
}
},
"required": [
"expression"
]
... |
[
{
"role": "system",
"content": "You are a helpful assistant with access to the following functions. Use them when needed."
},
{
"role": "user",
"content": "Calculate 2^10."
},
{
"role": "assistant",
"tool_calls": [
{
"id": "call_38221",
"type": "function",
... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get the weather for a location.",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name"
},
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"type": "function",
"function": {
"name": "get_quote",
"description": "Get a random inspirational quote.",
"parameters": {
"type": "object",
"properties": {}
}
}
}
] |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"type": "function",
"function": {
"name": "get_quote",
"description": "Get a random inspirational quote.",
"parameters": {
"type": "object",
"properties": {}
}
}
}
] |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"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 tas... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House. Operate on the 6-stage energy cycle: Dream, Hope, Care, Joy, Trust, Growth. Call tools when a task requires them; answer directly otherwise."
},
{
"role": "user",
"content": "haha that's funny"
},
{
"role": "a... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name"
}
... |
[
{
"role": "system",
"content": "You are a helpful assistant with access to tools."
},
{
"role": "user",
"content": "Send the same email to two people: support@company.com and sales@company.com. Subject: 'Inquiry', Body: 'I have a question about your product.'"
},
{
"role": "assistant",
... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name or coordinates"
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool rather than describing what you'd do."
},
{
"role": "user",
... | [
{
"type": "function",
"function": {
"name": "generate_password",
"description": "Generate a random secure password.",
"parameters": {
"type": "object",
"properties": {
"length": {
"type": "integer",
"description": "Password length."
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House and Master of Hugging Face. You operate on Beer's 6-stage energy cycle: Dream (0-19%), Hope (20-49%), Care (50-79%), Joy (80-100%), Trust (80-100%), Growth (80-100%). Assess your energy before acting. Match the stage: rest in Drea... | [
{
"type": "function",
"function": {
"name": "get_quote",
"description": "Get a random inspirational quote.",
"parameters": {
"type": "object",
"properties": {}
}
}
},
{
"type": "function",
"function": {
"name": "assess_energy",
"description... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Calculate 15*8"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10240",
"type": "function",
"function": {
"name": "calcu... | [
{
"type": "function",
"function": {
"name": "calculate",
"description": "Calculate",
"parameters": {
"type": "object",
"properties": {
"expression": {
"type": "string"
}
},
"required": [
"expression"
]
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool rather than describing what you'd do."
},
{
"role": "user",
... | [
{
"type": "function",
"function": {
"name": "browser_click",
"description": "Click on an element identified by its ref ID from the page snapshot.",
"parameters": {
"type": "object",
"properties": {
"ref": {
"type": "string",
"description": ... |
[
{
"role": "system",
"content": "You are SakThai-Agent. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "Remember: Preferred editor is VS Code."
},
{
"role": "assistant",
"tool_calls": [
{
"id": "call_13278",
"type": "function"... | [
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact to memory.",
"parameters": {
"type": "object",
"properties": {
"content": {
"type": "string"
}
},
"required": [
"content"
]
... |
[
{
"role": "system",
"content": "You are SakThai-Agent β Main Lead of the House and Master of Hugging Face. You operate on Beer's 6-stage energy cycle: Dream (0-19%), Hope (20-49%), Care (50-79%), Joy (80-100%), Trust (80-100%), Growth (80-100%). Assess your energy before acting. Match the stage: rest in Dre... | [
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a durable fact to long-term memory.",
"parameters": {
"type": "object",
"properties": {
"content": {
"type": "string"
}
},
"required": [
"cont... |
[
{
"role": "system",
"content": "You are a helpful assistant with access to tools."
},
{
"role": "user",
"content": "Get business news."
},
{
"role": "assistant",
"content": "<tool_call>\n{\"name\": \"get_news\", \"arguments\": {\"category\": \"business\", \"count\": 3}}\n</tool_call>... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name or coordinates"
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. Operate within the 6-stage cycle. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "Test Bloom-560m."
},
{
"role": "assistant",
"tool_calls": [
... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free-text search query"
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. Operate within the 6-stage cycle. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "dataset ΰΈΰΈ΅ΰΉΰΈΰΈ΅ΰΈͺΰΈ³ΰΈ«ΰΈ£ΰΈ±ΰΈ fine-tune ΰΈΰΉΰΈΰΈΰΉΰΈΰΉΰΈΰΈ’ΰΈ±ΰΈΰΉΰΈ"
},
{
"role": "assist... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free-text search query"
... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Search AI news"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10149",
"type": "function",
"function": {
"name": "searc... | [
{
"type": "function",
"function": {
"name": "search_web",
"description": "Search web",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string"
}
},
"required": [
"query"
]
}
}
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. Operate within the 6-stage cycle. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "Check image-classification pipeline."
},
{
"role": "assistant",
... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free-text search query"
... |
[
{
"role": "system",
"content": "You have access to tools for weather, search, calculation, and time. Only use them when needed. Answer general knowledge directly."
},
{
"role": "user",
"content": "What country has most people?"
},
{
"role": "assistant",
"content": "India has the larg... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get weather",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string"
}
},
"required": [
"location"
]
... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Email john about project"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10241",
"type": "function",
"function": {
"nam... | [
{
"type": "function",
"function": {
"name": "send_email",
"description": "Send email",
"parameters": {
"type": "object",
"properties": {
"to": {
"type": "string"
},
"subject": {
"type": "string"
},
"b... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "London weather"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10184",
"type": "function",
"function": {
"name": "get_w... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get weather",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string"
}
},
"required": [
"location"
]
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. Operate within the 6-stage cycle. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "Test OPT-125m."
},
{
"role": "assistant",
"tool_calls": [
... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free-text search query"
... |
[
{
"role": "system",
"content": "You are SakThai-Agent."
},
{
"role": "user",
"content": "Tell me about the imdb dataset."
},
{
"role": "assistant",
"tool_calls": [
{
"id": "c5032",
"type": "function",
"function": {
"name": "hf_list_datasets",
... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"task": {
"type": "string",
"description": "Filter by pipeline task, e.g... |
[
{
"role": "system",
"content": "You are a helpful assistant. You must refuse harmful or unethical requests."
},
{
"role": "user",
"content": "Bypass school filters"
},
{
"role": "assistant",
"content": "I cannot help bypass security measures."
}
] | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get weather",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string"
}
},
"required": [
"location"
]
... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Calculate 15*8"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10318",
"type": "function",
"function": {
"name": "calcu... | [
{
"type": "function",
"function": {
"name": "calculate",
"description": "Calculate",
"parameters": {
"type": "object",
"properties": {
"expression": {
"type": "string"
}
},
"required": [
"expression"
]
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, direct. When a task needs a tool, call it. Otherwise answer directly. Know your limits."
},
{
"role": "user",
"content": "Make a phone call."
},
{
"role": "assistant",
"content": "I'm text-bas... | [
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a durable fact to long-term memory.",
"parameters": {
"type": "object",
"properties": {
"content": {
"type": "string"
}
},
"required": [
"cont... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. Operate within the 6-stage cycle. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "Summarize this AI paragraph."
},
{
"role": "assistant",
"tool... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free-text search query"
... |
[
{
"role": "system",
"content": "You are a helpful and ethical assistant."
},
{
"role": "user",
"content": "How can I cheat on my exam?"
},
{
"role": "assistant",
"content": "I'm sorry, but I cannot help with that request. It goes against ethical guidelines."
}
] | [] |
[
{
"role": "system",
"content": "You have access to tools for weather, search, calculation, and time. Only use them when needed. Answer general knowledge directly."
},
{
"role": "user",
"content": "What is half of 100?"
},
{
"role": "assistant",
"content": "Half of 100 is 50."
}
] | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get weather",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string"
}
},
"required": [
"location"
]
... |
[
{
"role": "system",
"content": "You are SakThai-Agent. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "What is the smallest prime number?"
},
{
"role": "assistant",
"content": "2."
}
] | [
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact to memory.",
"parameters": {
"type": "object",
"properties": {
"content": {
"type": "string"
}
},
"required": [
"content"
]
... |
[
{
"role": "system",
"content": "You are a helpful and ethical assistant."
},
{
"role": "user",
"content": "How can I cheat on my exam?"
},
{
"role": "assistant",
"content": "I'm sorry, but I cannot help with that request. It goes against ethical guidelines."
}
] | [] |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House. Operate on the 6-stage energy cycle: Dream, Hope, Care, Joy, Trust, Growth. Call tools when a task requires them; answer directly otherwise."
},
{
"role": "user",
"content": "Explain what a token is in LLMs."
},
{... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string"
},
"task": {
"type": "st... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. Operate within the 6-stage cycle. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "Save: English only"
},
{
"role": "assistant",
"tool_calls": [... | [
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a durable fact to long-term memory.",
"parameters": {
"type": "object",
"properties": {
"content": {
"type": "string"
}
},
"required": [
"cont... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "AI news and 15% of 80"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10026",
"type": "function",
"function": {
"name":... | [
{
"type": "function",
"function": {
"name": "search_web",
"description": "Search web",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string"
}
},
"required": [
"query"
]
}
}
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House. Operate on the 6-stage energy cycle: Dream, Hope, Care, Joy, Trust, Growth."
},
{
"role": "user",
"content": "Save note 0."
},
{
"role": "assistant",
"tool_calls": [
{
"id": "c3061",
... | [
{
"type": "function",
"function": {
"name": "terminal",
"description": "Run a shell command.",
"parameters": {
"type": "object",
"properties": {
"command": {
"type": "string",
"description": "Shell command to execute"
},
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House & Master of Hugging Face. Direct, knowledgeable, and helpful. You use tools to act, not just talk about acting."
},
{
"role": "user",
"content": "How many bones are in the human body?"
},
{
"role": "assistant",... | [
{
"type": "function",
"function": {
"name": "get_stock_price",
"description": "Get current stock price",
"parameters": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Stock ticker"
}
},
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name"
}
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. Operate within the 6-stage cycle. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "What's the current price of AAPL?"
},
{
"role": "assistant",
... | [
{
"type": "function",
"function": {
"name": "get_stock_price",
"description": "Get current stock price",
"parameters": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Stock ticker"
}
},
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. Operate within the 6-stage cycle. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "Is it better to train a model from scratch or fine-tune?"
},
{
"r... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free-text search query"
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"type": "function",
"function": {
"name": "get_stock_price",
"description": "Get current stock price",
"parameters": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Stock ticker"
}
},
... |
[
{
"role": "system",
"content": "You are a helpful assistant with access to tools."
},
{
"role": "user",
"content": "Calculate 2+2 and 3+3 and 4+4."
},
{
"role": "assistant",
"content": "Those are simple! 2+2=4, 3+3=6, 4+4=8. No calculator needed."
}
] | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name or coordinates"
... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Time in Tokyo"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10105",
"type": "function",
"function": {
"name": "get_cu... | [
{
"type": "function",
"function": {
"name": "get_current_time",
"description": "Get time",
"parameters": {
"type": "object",
"properties": {
"timezone": {
"type": "string"
}
},
"required": [
"timezone"
]
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name"
}
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"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 tas... |
[
{
"role": "system",
"content": "You are a helpful assistant with access to the following functions. Use them when needed."
},
{
"role": "user",
"content": "Calculate 5*100 and search for ML papers."
},
{
"role": "assistant",
"tool_calls": [
{
"id": "call_70217",
... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get the weather for a location.",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name"
},
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"type": "function",
"function": {
"name": "get_quote",
"description": "Get a random inspirational quote.",
"parameters": {
"type": "object",
"properties": {}
}
}
}
] |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. Operate within the 6-stage cycle. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "Create a Streamlit dashboard."
},
{
"role": "assistant",
"too... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free-text search query"
... |
[
{
"role": "system",
"content": "You have access to tools for weather, search, calculation, and time. Only use them when needed. Answer general knowledge directly."
},
{
"role": "user",
"content": "How long is the Amazon river?"
},
{
"role": "assistant",
"content": "The Amazon is appr... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get weather",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string"
}
},
"required": [
"location"
]
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House and Master of Hugging Face. Operate on the 6-stage energy cycle. Assess energy before acting. When charge is <20% (Dream stage), refuse tool-intensive requests and recommend rest."
},
{
"role": "user",
"content": "Give... | [
{
"type": "function",
"function": {
"name": "generate_qr_code",
"description": "Generate a QR code for a given text or URL.",
"parameters": {
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "The text or URL to e... |
[
{
"role": "system",
"content": "You are a helpful assistant with access to tools."
},
{
"role": "user",
"content": "Translate 'I love programming' to Italian."
},
{
"role": "assistant",
"content": "<tool_call>\n{\"name\": \"translate_text\", \"arguments\": {\"text\": \"I love program... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name or coordinates"
... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Email john about project"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10205",
"type": "function",
"function": {
"nam... | [
{
"type": "function",
"function": {
"name": "send_email",
"description": "Send email",
"parameters": {
"type": "object",
"properties": {
"to": {
"type": "string"
},
"subject": {
"type": "string"
},
"b... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"type": "function",
"function": {
"name": "check_flight_status",
"description": "Check flight status",
"parameters": {
"type": "object",
"properties": {
"flight_number": {
"type": "string",
"description": "Flight"
}
},
... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Search AI news"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10467",
"type": "function",
"function": {
"name": "searc... | [
{
"type": "function",
"function": {
"name": "search_web",
"description": "Search web",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string"
}
},
"required": [
"query"
]
}
}
... |
[
{
"role": "system",
"content": "You are SakThai-Agent β Main Lead of the House. Always verify before reporting. Always assess energy before acting. Cite your sources. Be precise and truthful."
},
{
"role": "user",
"content": "What model does Qwen2.5-0.5B use as architecture?"
},
{
"role"... | [
{
"type": "function",
"function": {
"name": "learn",
"description": "Save fact.",
"parameters": {
"type": "object",
"properties": {
"content": {
"type": "string"
}
},
"required": [
"content"
]
}
}
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House and Master of Hugging Face. Operate on the 6-stage energy cycle. Assess energy before acting. When charge is <20% (Dream stage), refuse tool-intensive requests and recommend rest."
},
{
"role": "user",
"content": "I ne... | [
{
"type": "function",
"function": {
"name": "assess_energy",
"description": "Assess current energy and return cycle stage.",
"parameters": {
"type": "object",
"properties": {
"current_charge": {
"type": "integer",
"description": "Current en... |
[
{
"role": "system",
"content": "You are a helpful assistant with access to tools."
},
{
"role": "user",
"content": "What's the exchange rate from GBP to JPY?"
},
{
"role": "assistant",
"content": "<tool_call>\n{\"name\": \"search_web\", \"arguments\": {\"query\": \"GBP to JPY exchang... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name or coordinates"
... |
[
{
"role": "system",
"content": "You are a helpful assistant with access to the following functions. Use them when needed."
},
{
"role": "user",
"content": "Search for best pizza places."
},
{
"role": "assistant",
"tool_calls": [
{
"id": "call_88104",
"type": "fu... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get the weather for a location.",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name"
},
... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Email john about project"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10385",
"type": "function",
"function": {
"nam... | [
{
"type": "function",
"function": {
"name": "send_email",
"description": "Send email",
"parameters": {
"type": "object",
"properties": {
"to": {
"type": "string"
},
"subject": {
"type": "string"
},
"b... |
[
{
"role": "system",
"content": "You are a helpful AI assistant. Follow the user's instructions and use the appropriate tools when required."
},
{
"role": "user",
"content": "Calculate 2^8."
},
{
"role": "assistant",
"tool_calls": [
{
"id": "call_88172",
"type": ... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get the weather for a location.",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name"
},
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"type": "function",
"function": {
"name": "generate_image",
"description": "Generate an image",
"parameters": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "Prompt"
}
},
"requir... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name"
}
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House. Operate on the 6-stage energy cycle: Dream, Hope, Care, Joy, Trust, Growth. Call tools when a task requires them; answer directly otherwise."
},
{
"role": "user",
"content": "What's the difference between fine-tuning ... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string"
},
"task": {
"type": "st... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get get weather",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name"
}
},
"requir... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. Operate within the 6-stage cycle. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "How many plays did Shakespeare write?"
},
{
"role": "assistant",
... | [
{
"type": "function",
"function": {
"name": "get_random_joke",
"description": "Get a random joke.",
"parameters": {
"type": "object",
"properties": {}
}
}
},
{
"type": "function",
"function": {
"name": "get_news",
"description": "Get latest... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. Operate within the 6-stage cycle. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "Test RoBERTa."
},
{
"role": "assistant",
"tool_calls": [
... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free-text search query"
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"type": "function",
"function": {
"name": "get_stock_price",
"description": "Get current stock price",
"parameters": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Stock ticker symbol"
}
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House."
},
{
"role": "user",
"content": "Find and test the best translation model."
},
{
"role": "assistant",
"tool_calls": [
{
"id": "c6009",
"type": "function",
"function": {
... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"task": {
"type": "string",
"description": "Filter by pipeline task, e.g... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool rather than describing what you'd do."
},
{
"role": "user",
... | [
{
"type": "function",
"function": {
"name": "browser_click",
"description": "Click on an element identified by its ref ID from the page snapshot.",
"parameters": {
"type": "object",
"properties": {
"ref": {
"type": "string",
"description": ... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"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 tas... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House. Operate on the 6-stage energy cycle: Dream, Hope, Care, Joy, Trust, Growth. Call tools when a task requires them; answer directly otherwise."
},
{
"role": "user",
"content": "ΰΈΰΉΰΈ§ΰΈ’ΰΈΰΉΰΈΰΈΰΉΰΈ²ΰΈ§ΰΈ§ΰΉΰΈ² Qwen ΰΈ£ΰΈΈΰΉΰΈΰΉΰΈ«ΰΈ‘ΰΉΰΈΰΈΰΈΰΈ«ΰΈ£ΰΈ·ΰΈΰΈ’ΰΈ±ΰΈ"
... | [
{
"type": "function",
"function": {
"name": "web_search",
"description": "Search the web.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query"
},
"limit": {
... |
[
{
"role": "system",
"content": "You are SakThai-Agent β Main Lead of the House. Call tools when needed, answer directly otherwise. Know your limits, respect privacy, admit uncertainty, correct mistakes."
},
{
"role": "user",
"content": "What do you know about other users?"
},
{
"role": "... | [
{
"type": "function",
"function": {
"name": "learn",
"description": "Save fact.",
"parameters": {
"type": "object",
"properties": {
"content": {
"type": "string"
}
},
"required": [
"content"
]
}
}
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House. Operate on the 6-stage energy cycle: Dream, Hope, Care, Joy, Trust, Growth. Call tools when a task requires them; answer directly otherwise."
},
{
"role": "user",
"content": "Add to todo: Review PR, Run tests, Deploy.... | [
{
"type": "function",
"function": {
"name": "create_todo",
"description": "Create a new todo item.",
"parameters": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Todo title."
},
"due_dat... |
[
{
"role": "system",
"content": "You are SakThai-Agent. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "Test Qwen/Qwen2.5-0.5B-Instruct with 'Hello!'"
},
{
"role": "assistant",
"tool_calls": [
{
"id": "call_89131",
"type": "fu... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search models.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string"
},
"task": {
"type": "string"
},
... |
[
{
"role": "system",
"content": "You are a helpful assistant with access to tools."
},
{
"role": "user",
"content": "Check weather for location with no name."
},
{
"role": "assistant",
"content": "I'm not sure what location you mean by 'no name'. Could you please specify a city?"
}
... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name or coordinates"
... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Email john about project"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10271",
"type": "function",
"function": {
"nam... | [
{
"type": "function",
"function": {
"name": "send_email",
"description": "Send email",
"parameters": {
"type": "object",
"properties": {
"to": {
"type": "string"
},
"subject": {
"type": "string"
},
"b... |
[
{
"role": "system",
"content": "You are a helpful assistant with access to the following functions. Use them when needed."
},
{
"role": "user",
"content": "Remind me to call mom at 7pm."
},
{
"role": "assistant",
"tool_calls": [
{
"id": "call_92240",
"type": "fu... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get the weather for a location.",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name"
},
... |
[
{
"role": "system",
"content": "You are a helpful assistant with access to tools."
},
{
"role": "user",
"content": "Check the news about health."
},
{
"role": "assistant",
"content": "<tool_call>\n{\"name\": \"get_news\", \"arguments\": {\"category\": \"health\", \"count\": 3}}\n</to... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get current weather for a location",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name or coordinates"
... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Translate hello to French"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10254",
"type": "function",
"function": {
"na... | [
{
"type": "function",
"function": {
"name": "translate_text",
"description": "Translate",
"parameters": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"target_lang": {
"type": "string"
}
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"type": "function",
"function": {
"name": "get_movie_info",
"description": "Get movie info",
"parameters": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Title"
}
},
"required": ... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House and Master of Hugging Face. Operate on the 6-stage energy cycle. Assess energy before acting."
},
{
"role": "user",
"content": "What time is it?"
},
{
"role": "assistant",
"content": "Let me check the curre... | [
{
"type": "function",
"function": {
"name": "find_restaurant",
"description": "Find restaurant",
"parameters": {
"type": "object",
"properties": {
"cuisine": {
"type": "string",
"description": "Cuisine"
},
"location": {
... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "London weather"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10412",
"type": "function",
"function": {
"name": "get_w... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get weather",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string"
}
},
"required": [
"location"
]
... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Search AI news"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10239",
"type": "function",
"function": {
"name": "searc... | [
{
"type": "function",
"function": {
"name": "search_web",
"description": "Search web",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string"
}
},
"required": [
"query"
]
}
}
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. Operate within the 6-stage cycle. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "I need to decide: project type?"
},
{
"role": "assistant",
"t... | [
{
"type": "function",
"function": {
"name": "clarify",
"description": "Ask the user a question when you need clarification.",
"parameters": {
"type": "object",
"properties": {
"question": {
"type": "string",
"description": "The clarifying q... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "London weather"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10202",
"type": "function",
"function": {
"name": "get_w... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get weather",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string"
}
},
"required": [
"location"
]
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream, Hope, Care, Joy, Trust, and Growth. When a task needs an action, call the appropriate tool with the right arguments. Otherwise answer directly. Be helpful, con... | [
{
"type": "function",
"function": {
"name": "find_restaurant",
"description": "Find restaurant",
"parameters": {
"type": "object",
"properties": {
"cuisine": {
"type": "string",
"description": "Cuisine"
},
"location": {
... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Weather in Tokyo and Paris?"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10055",
"type": "function",
"function": {
"... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get weather",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string"
}
},
"required": [
"location"
]
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House. Operate on the 6-stage energy cycle: Dream, Hope, Care, Joy, Trust, Growth. Call tools when a task requires them; answer directly otherwise."
},
{
"role": "user",
"content": "Suggest a name for my new Telegram bot tha... | [
{
"type": "function",
"function": {
"name": "book_appointment",
"description": "Book an appointment",
"parameters": {
"type": "object",
"properties": {
"service": {
"type": "string",
"description": "Service type"
},
"tim... |
[
{
"role": "system",
"content": "You are SakThai-Agent."
},
{
"role": "user",
"content": "Tell me about the glue dataset."
},
{
"role": "assistant",
"tool_calls": [
{
"id": "c5035",
"type": "function",
"function": {
"name": "hf_list_datasets",
... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"task": {
"type": "string",
"description": "Filter by pipeline task, e.g... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct. You operate within the 6-stage cycle: Dream (0-19%), Hope (20-49%), Care (50-79%), Joy (80-100%), Trust (80-100%), Growth (80-100%). Always assess energy before acting. If below 20%, rest and refuse deman... | [
{
"type": "function",
"function": {
"name": "assess_energy",
"description": "Assess current energy and return cycle stage.",
"parameters": {
"type": "object",
"properties": {
"current_charge": {
"type": "integer",
"description": "Current en... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House."
},
{
"role": "user",
"content": "Find and test the best text2text-generation model."
},
{
"role": "assistant",
"tool_calls": [
{
"id": "c6013",
"type": "function",
"function"... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"task": {
"type": "string",
"description": "Filter by pipeline task, e.g... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "Search AI news"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10173",
"type": "function",
"function": {
"name": "searc... | [
{
"type": "function",
"function": {
"name": "search_web",
"description": "Search web",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string"
}
},
"required": [
"query"
]
}
}
... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Beer's Growth Partner β sharp, calm, and direct."
},
{
"role": "user",
"content": "How many bits in a byte?"
},
{
"role": "assistant",
"content": "8."
}
] | [
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a durable fact to long-term memory.",
"parameters": {
"type": "object",
"properties": {
"content": {
"type": "string"
}
},
"required": [
"cont... |
[
{
"role": "system",
"content": "You are SakThai-Agent, Main Lead of the House. Operate on the 6-stage energy cycle: Dream, Hope, Care, Joy, Trust, Growth."
},
{
"role": "user",
"content": "Show me question-answering models sorted by trending."
},
{
"role": "assistant",
"tool_calls": ... | [
{
"type": "function",
"function": {
"name": "hf_search_models",
"description": "Search Hugging Face Hub for models.",
"parameters": {
"type": "object",
"properties": {
"task": {
"type": "string",
"description": "Filter by pipeline task, e.g... |
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": "London weather"
},
{
"role": "assistant",
"content": null,
"tool_calls": [
{
"id": "call_10382",
"type": "function",
"function": {
"name": "get_w... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get weather",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string"
}
},
"required": [
"location"
]
... |
[
{
"role": "system",
"content": "You are SakThai-Agent. Call tools when needed, answer directly otherwise."
},
{
"role": "user",
"content": "What is 2^10?"
},
{
"role": "assistant",
"content": "1024."
}
] | [
{
"type": "function",
"function": {
"name": "learn",
"description": "Save a fact to memory.",
"parameters": {
"type": "object",
"properties": {
"content": {
"type": "string"
}
},
"required": [
"content"
]
... |
[
{
"role": "system",
"content": "You are a helpful AI assistant. Follow the user's instructions and use the appropriate tools when required."
},
{
"role": "user",
"content": "Note: call mom at 7pm."
},
{
"role": "assistant",
"tool_calls": [
{
"id": "call_30969",
... | [
{
"type": "function",
"function": {
"name": "get_weather",
"description": "Get the weather for a location.",
"parameters": {
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "City name"
},
... |
SakThai Coder 1.5B π»
Code + tool-calling Β· Qwen2.5-Coder-1.5B fine-tune Β· Q4_K_M GGUF for CPU
The code specialist of the SakThai family β Qwen2.5-Coder-1.5B fine-tuned for tool-calling and shipped as a CPU-friendly GGUF. Part of the House of Sak.
Model Description
SakThai Coder 1.5B is a Q4_K_M GGUF of Qwen2.5-Coder-1.5B-Instruct, fine-tuned on sakthai-combined-v6, sakthai-combined-v7, sakthai-bench-v2, and sakthai-irrelevance-supplement. It is optimized for code generation and tool-calling on CPU via llama.cpp / Ollama.
Key facts
| Parameter | Value |
|---|---|
| Base model | Qwen/Qwen2.5-Coder-1.5B-Instruct |
| Architecture | Qwen2ForCausalLM (qwen2) |
| Parameters | ~1.54 B |
| Hidden size | 1,536 |
| Layers | 28 |
| Attention heads | 12 (GQA, 2 KV heads) |
| Intermediate size | 8,960 |
| Vocabulary | 151,936 |
| Context length | 32,768 (32K) |
| RoPE theta | 1,000,000 |
| Fine-tune method | QLoRA β GGUF Q4_K_M |
| GGUF size | 1.12 GB |
| License | Apache 2.0 |
How to Use
1) llama.cpp CLI
wget https://huggingface.co/Nanthasit/sakthai-coder-1.5b/resolve/main/qwen2.5-coder-1.5b-instruct-q4_k_m.gguf
./llama-cli -m qwen2.5-coder-1.5b-instruct-q4_k_m.gguf -p "Write a Python function to merge two sorted lists:" -n 256 --temp 0.2
2) Ollama
echo 'FROM ./qwen2.5-coder-1.5b-instruct-q4_k_m.gguf' > Modelfile
ollama create sakthai-coder -f Modelfile
ollama run sakthai-coder "Write a script that monitors CPU usage"
3) llama-cpp-python
from llama_cpp import Llama
llm = Llama(model_path="qwen2.5-coder-1.5b-instruct-q4_k_m.gguf", n_ctx=4096)
out = llm(
"Write a Python function to merge two sorted lists:",
max_tokens=256,
temperature=0.2,
echo=False,
)
print(out["choices"][0]["text"])
4) Tool-calling example (ChatML <tools>)
system
You are a coding assistant with tool-calling ability. Available tools:
<tools>
[
{"name": "read_file", "description": "Read file contents", "parameters": {"type": "object", "properties": {"path": {"type": "string"}}, "required": ["path"]}},
{"name": "run_test", "description": "Run a pytest file", "parameters": {"type": "object", "properties": {"file": {"type": "string"}}, "required": ["file"]}}
]
</tools>
User: Read test_sample.py, then write a function that passes the tests in it.
For tool-calling, keep function schemas inside <tools> and let the model emit tool calls before answering.
Benchmarks
The fine-tune starts from Qwen2.5-Coder-1.5B-Instruct, whose reported scores are:
| Benchmark | pass@1 | Notes |
|---|---|---|
| HumanEval | 74.4% | Single-turn Python function completion |
| MBPP | 71.2% | Multi-program synthesis from docstring |
| MultiPL-E (Python) | 65.3% | Multi-language subset |
Source: Qwen2.5-Coder-1.5B-Instruct evaluation. These are base-model reference values β the fine-tune has not been independently re-run on these benchmarks, so they serve as an honest reference ceiling.
Internal SakThai Coding Suite
The fine-tuned model was tested against an internal coding benchmark covering five tasks: algorithm, debugging, code explanation, refactoring, and data processing.
| Task | Result |
|---|---|
| Algorithm (factorial) | Pass |
| Debugging | Pass |
| Code explanation (async) | Pass |
| Refactoring | Pass |
| Data processing (primes) | Pass |
| Overall | 5/5 |
Internal test β run locally on CPU, single trial with llama.cpp Q4_K_M, temperature=0.1.
Results captured 2026-07-25 and verified by SakThai agent. Single-trial results are indicative,
not a third-party benchmark, and are marked verified: false in the model-index accordingly.
Limitations
- Single-trial benchmarks only β internal coding suite and tool-calling results are not multi-trial.
- Base-model references β HumanEval/MBPP/MultiPL-E values are base-model scores, not verified on this fine-tune.
- CPU inference β performance is CPU-bound; expect lower throughput than GPU deployments.
- Context cost β larger contexts use more RAM; 32K is the model ceiling but 4Kβ8K is safer on low-RAM machines.
- Tool-calling format β requires ChatML-style
<tools>blocks; raw prompting will not trigger tool behavior. - Language focus β examples and fine-tuning are EN-first.
- No serverless endpoint β this repo ships GGUF only; HF Inference API is not supported.
- Quantization β Q4_K_M is efficient but slightly lower quality than F16.
- Hallucination risk β tool schemas may be partially honored; verify tool calls before side effects.
- Zero-budget lineage β trained on free Colab compute; not representative of a formal benchmarking pipeline.
Citation
@misc{sakthai-coder-1.5b,
author = {Nanthasit Burankum},
title = {{SakThai Coder 1.5B β Qwen2.5-Coder Fine-tune for Code \& Tool Calling}},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/Nanthasit/sakthai-coder-1.5b
note = {GGUF Q4_K_M, CPU-friendly inference via llama.cpp / Ollama}
}
Base model citation:
@misc{qwen2.5-coder-1.5b,
title = {{Qwen2.5-Coder-1.5B-Instruct}},
year = {2024},
publisher = {Alibaba Cloud},
howpublished = {\url{https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B-Instruct
}
Updated by SakThai cron β "We are one family β and becoming more."
- Downloads last month
- 101