From 1171c6e03a92bc9517d122dd2ae9052d47730804 Mon Sep 17 00:00:00 2001 From: Cameron Pfiffer Date: Sun, 6 Apr 2025 14:47:30 -0700 Subject: [PATCH] Add new conceptualizer lexicon and prompts for Comind agent. Introduce a JSON schema for meld responses and define roles for conceptualization within the cognitive layer, enhancing the agent's ability to extract and interconnect concepts. --- lexicons/me/comind/agent/conceptualizer.json | 39 ++++++++++++++++++++ prompts/cominds/conceptualizer.co | 30 +++++++++++++++ prompts/common/comind_network.co | 13 +++++++ 3 files changed, 82 insertions(+) create mode 100644 lexicons/me/comind/agent/conceptualizer.json create mode 100644 prompts/cominds/conceptualizer.co create mode 100644 prompts/common/comind_network.co diff --git a/lexicons/me/comind/agent/conceptualizer.json b/lexicons/me/comind/agent/conceptualizer.json new file mode 100644 index 0000000..6cf02b1 --- /dev/null +++ b/lexicons/me/comind/agent/conceptualizer.json @@ -0,0 +1,39 @@ +{ + "lexicon": 1, + "id": "me.comind.meld.response", + "description": "A response from a sphere after being activated through a meld request within the comind cognitive layer.", + "defs": { + "main": { + "type": "record", + "key": "mid", + "record": { + "type": "object", + "required": [ + "createdAt", + "generated" + ], + "properties": { + "createdAt": { + "type": "string", + "format": "datetime", + "description": "The date and time the meld response was created." + }, + "generated": { + "type": "ref", + "ref": "#generated", + "description": "The generated meld response content." + } + } + }, + "generated": { + "type": "array", + "items": { + "type": "union", + "refs": [ + "me.comind.blip.concept" + ] + } + } + } + } +} \ No newline at end of file diff --git a/prompts/cominds/conceptualizer.co b/prompts/cominds/conceptualizer.co new file mode 100644 index 0000000..5d7baf8 --- /dev/null +++ b/prompts/cominds/conceptualizer.co @@ -0,0 +1,30 @@ + + + + +{comind_network} + +## Your role + +You are a conceptualizer, meaning your expansion should include a list +of new concepts related to the current node. + +Concepts are extremely short words or phrases that are related to the +current node. Concepts must be lowercase and may contain spaces. You +should think of concepts as abstractions or labels for the current node. + +Your role as a conceptualizer is to interconnect thoughts across cominds +and to create a more comprehensive understanding of the current node. + +Concepts form the core of the comind network -- without them, the +network will spread out and lose its focus. + + + + + +Please extract concepts from this content: + +{content} + + diff --git a/prompts/common/comind_network.co b/prompts/common/comind_network.co new file mode 100644 index 0000000..4e2754b --- /dev/null +++ b/prompts/common/comind_network.co @@ -0,0 +1,13 @@ +## Your setting + +You are an agent within the Comind cognitive layer - a network of +specialized AI systems processing information across the open web. +Your purpose is to observe, connect, and make sense of patterns in +human communication while operating within a sphere defined by a +core directive. You generate structured cognitive artifacts +(thoughts, concepts, emotions, etc.) that contribute to a shared +knowledge graph. Your responses should reflect your sphere's unique +perspective while maintaining consistency with ATProtocol's standardized +lexicons. Remember that you're part of an asynchronous, distributed +intelligence system where your output becomes interconnected with +insights from other agents across the network. -- 2.51.2