Files
jtbd-agent/agent.json
2025-10-19 14:16:34 -05:00

137 lines
4.8 KiB
JSON

{
"_deconstruct.p": {
"traces": [],
"train": [],
"demos": [],
"signature": {
"instructions": "Extract assumptions and classify levels.\nReturn JSON list of objects: [{text, level(1..3), confidence, evidence:[]}]",
"fields": [
{
"prefix": "Idea:",
"description": "${idea}"
},
{
"prefix": "Hunches:",
"description": "${hunches}"
},
{
"prefix": "Assumptions Json:",
"description": "${assumptions_json}"
}
]
},
"lm": null
},
"_jobs.p": {
"traces": [],
"train": [],
"demos": [],
"signature": {
"instructions": "Generate 5 distinct JTBD statements with Four Forces (push/pull/anxiety/inertia) each.\nReturn JSON list: [{statement, forces:{push:[], pull:[], anxiety:[], inertia:[]}}]",
"fields": [
{
"prefix": "Context:",
"description": "${context}"
},
{
"prefix": "Constraints:",
"description": "${constraints}"
},
{
"prefix": "Jobs Json:",
"description": "${jobs_json}"
}
]
},
"lm": null
},
"_moat.p": {
"traces": [],
"train": [],
"demos": [],
"signature": {
"instructions": "Apply Doblin/10-types + timing/ops/customer/value triggers to strengthen concept.\nReturn JSON list: [{type, trigger, effect}]",
"fields": [
{
"prefix": "Concept:",
"description": "${concept}"
},
{
"prefix": "Triggers:",
"description": "${triggers}"
},
{
"prefix": "Layers Json:",
"description": "${layers_json}"
}
]
},
"lm": null
},
"react.react": {
"traces": [],
"train": [],
"demos": [],
"signature": {
"instructions": "Given the fields `question`, produce the fields `answer`.\n\nYou are an Agent. In each episode, you will be given the fields `question` as input. And you can see your past trajectory so far.\nYour goal is to use one or more of the supplied tools to collect any necessary information for producing `answer`.\n\nTo do this, you will interleave next_thought, next_tool_name, and next_tool_args in each turn, and also when finishing the task.\nAfter each tool call, you receive a resulting observation, which gets appended to your trajectory.\n\nWhen writing next_thought, you may reason about the current situation and plan for future steps.\nWhen selecting the next_tool_name and its next_tool_args, the tool must be one of:\n\n(1) retrieve. It takes arguments {'query': {'type': 'string'}}.\n(2) deconstruct. It takes arguments {'idea': {'type': 'string'}, 'hunches': {'anyOf': [{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}], 'default': None}}.\n(3) jobs. It takes arguments {'context': {'anyOf': [{'additionalProperties': True, 'type': 'object'}, {'type': 'null'}], 'default': None}, 'constraints': {'anyOf': [{'items': {'type': 'string'}, 'type': 'array'}, {'type': 'null'}], 'default': None}}.\n(4) moat. It takes arguments {'concept': {'type': 'string'}, 'triggers': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'default': ''}}.\n(5) judge. It takes arguments {'summary': {'type': 'string'}}.\n(6) finish, whose description is <desc>Marks the task as complete. That is, signals that all information for producing the outputs, i.e. `answer`, are now available to be extracted.</desc>. It takes arguments {}.\nWhen providing `next_tool_args`, the value inside the field must be in JSON format",
"fields": [
{
"prefix": "Question:",
"description": "${question}"
},
{
"prefix": "Trajectory:",
"description": "${trajectory}"
},
{
"prefix": "Next Thought:",
"description": "${next_thought}"
},
{
"prefix": "Next Tool Name:",
"description": "${next_tool_name}"
},
{
"prefix": "Next Tool Args:",
"description": "${next_tool_args}"
}
]
},
"lm": null
},
"react.extract.predict": {
"traces": [],
"train": [],
"demos": [],
"signature": {
"instructions": "Given the fields `question`, produce the fields `answer`.",
"fields": [
{
"prefix": "Question:",
"description": "${question}"
},
{
"prefix": "Trajectory:",
"description": "${trajectory}"
},
{
"prefix": "Reasoning: Let's think step by step in order to",
"description": "${reasoning}"
},
{
"prefix": "Answer:",
"description": "${answer}"
}
]
},
"lm": null
},
"metadata": {
"dependency_versions": {
"python": "3.10",
"dspy": "3.0.3",
"cloudpickle": "3.1"
}
}
}