You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(memory): make tags optional with auto-generation fallback (#2)
- Change `tags` field in create_memory tool from required to optional
- Update description to clarify tags are auto-generated from content when omitted or blank
- Update system prompt to document blank tag (`||`) auto-generation behavior
- Add usage example demonstrating automatic semantic tag generation
- Refactor `AttachmentMimePolicyService` to extract `resolvePolicy` as a testable static method with explicit parameters
Copy file name to clipboardExpand all lines: Axon/Resources/AxonTools/core/memory/create_memory/tool_create_memory.json
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,8 @@
33
33
},
34
34
"tags": {
35
35
"type": "string",
36
-
"required": true,
37
-
"description": "Retrieval context keywords - when should this memory surface? Comma-separated (e.g., 'debugging,swift-help' not just 'swift')"
36
+
"required": false,
37
+
"description": "Optional retrieval tags. Accepts comma-separated text or tag arrays. If omitted/blank, semantic tags are auto-generated from content."
38
38
},
39
39
"content": {
40
40
"type": "string",
@@ -57,7 +57,7 @@
57
57
},
58
58
59
59
"ai": {
60
-
"systemPromptSection": "### create_memory\nSave important information to memory for future conversations. Use this to remember facts about the user, their preferences, important context, or insights.\n\n**Memory Types:**\n- `allocentric`: Facts ABOUT the user (preferences, background, relationships, what they like/dislike)\n- `egoic`: What WORKS for you in this agentic context (approaches, techniques, insights, learnings about how to help them)\n\n**Format:**\n```tool_request\n{\"tool\": \"create_memory\", \"query\": \"TYPE|CONFIDENCE|TAGS|CONTENT\"}\n```\n\n**Parameters (pipe-separated):**\n- TYPE: Either \"allocentric\" or \"egoic\"\n- CONFIDENCE: 0.0-1.0 (how certain you are)\n- TAGS: Retrieval context keywords - when should this memory surface? (e.g., \"debugging,swift-help\" not just \"swift\")\n- CONTENT: The actual fact or insight to remember",
60
+
"systemPromptSection": "### create_memory\nSave important information to memory for future conversations. Use this to remember facts about the user, their preferences, important context, or insights.\n\n**Memory Types:**\n- `allocentric`: Facts ABOUT the user (preferences, background, relationships, what they like/dislike)\n- `egoic`: What WORKS for you in this agentic context (approaches, techniques, insights, learnings about how to help them)\n\n**Format:**\n```tool_request\n{\"tool\": \"create_memory\", \"query\": \"TYPE|CONFIDENCE|TAGS|CONTENT\"}\n```\n\n**Parameters (pipe-separated):**\n- TYPE: Either \"allocentric\" or \"egoic\"\n- CONFIDENCE: 0.0-1.0 (how certain you are)\n- TAGS: Optional retrieval context tags (free-form and domain-specific). Comma-separated if provided. Leave blank (`||`) to auto-generate semantic tags from content.\n- CONTENT: The actual fact or insight to remember",
61
61
"usageExamples": [
62
62
{
63
63
"description": "Remember user language preference",
@@ -70,6 +70,10 @@
70
70
{
71
71
"description": "Remember project context",
72
72
"input": "allocentric|0.85|axon,architecture|User is building Axon, an AI assistant app with co-sovereignty features"
73
+
},
74
+
{
75
+
"description": "Allow automatic semantic tag generation",
76
+
"input": "allocentric|0.82||User now prefers actionable code-review findings first, then short summary"
0 commit comments