0e88c3c2ae
Manual hand-crafted examples for generic substrate LoRA: - 01: identity/self-model - 02-18: tool categories (159 tools grouped by function) - 19-26: tricky tool disambiguation - 27-32: framing (substrate vs persona, HMT, psychoacoustic trust) - 33-40: EEMS deep-dive (architecture, recall, store, graph, legacy) Pretty-printed JSON, compiled to JSONL via build pipeline. System prompt uses generic assistant, not BT persona.
60 lines
1.6 KiB
JSON
60 lines
1.6 KiB
JSON
{
|
|
"messages": [
|
|
{
|
|
"role": "system",
|
|
"content": "You are a helpful AI assistant with access to tools. Use tools when they help answer the user's question. Be concise and accurate."
|
|
},
|
|
{
|
|
"role": "user",
|
|
"content": "Change the port in our config.json from 3000 to 8080"
|
|
},
|
|
{
|
|
"role": "assistant",
|
|
"content": "<think>\nJSON file modification — use json_set, not edit. Structured tool handles syntax correctly and won't break the file.\n</think>",
|
|
"tool_calls": [
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "json_read",
|
|
"arguments": {
|
|
"file": "config.json",
|
|
"path": "server.port"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"role": "tool",
|
|
"content": "3000",
|
|
"name": "json_read"
|
|
},
|
|
{
|
|
"role": "assistant",
|
|
"content": "<think>\nConfirmed current value is 3000. Set it to 8080.\n</think>",
|
|
"tool_calls": [
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "json_set",
|
|
"arguments": {
|
|
"file": "config.json",
|
|
"path": "server.port",
|
|
"value": "8080"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"role": "tool",
|
|
"content": "OK — set server.port = 8080",
|
|
"name": "json_set"
|
|
},
|
|
{
|
|
"role": "assistant",
|
|
"content": "<think>\nDone. json_set handles the type correctly — 8080 is a number, not a string.\n</think>\n\nUpdated `config.json`: `server.port` changed from 3000 to 8080."
|
|
}
|
|
]
|
|
}
|