From 63e26dcd53d8d64102c1927615530c93554a9df7 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Mon, 21 Jul 2025 12:58:07 +0100 Subject: [PATCH] Remove cruft --- .../trustgraph/extract/kg/agent/config.json | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 trustgraph-flow/trustgraph/extract/kg/agent/config.json diff --git a/trustgraph-flow/trustgraph/extract/kg/agent/config.json b/trustgraph-flow/trustgraph/extract/kg/agent/config.json deleted file mode 100644 index 0ac54e84..00000000 --- a/trustgraph-flow/trustgraph/extract/kg/agent/config.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "prompt": { - "template.agent-kg-extract": { - "id": "agent-kg-extract", - "prompt": "Analyze the following text and extract both entity definitions and relationships. Return the results as JSON with 'definitions' and 'relationships' arrays.\n\nFor definitions, extract entities and their explanations or descriptions.\nFor relationships, extract subject-predicate-object triples where subjects and objects are entities, and predicates are relationship types.\n\nText: {{text}}\n\nReturn JSON only, no other text. Use this exact format:\n{\n \"definitions\": [\n {\n \"entity\": \"entity_name\",\n \"definition\": \"definition_text\",\n }\n ],\n \"relationships\": [\n {\n \"subject\": \"subject_entity\",\n \"predicate\": \"relationship_type\",\n \"object\": \"object_entity_or_literal\",\n \"object-entity\": true\n }\n ]\n}", - "response-type": "json", - "schema": { - "type": "object", - "properties": { - "definitions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "entity": {"type": "string"}, - "definition": {"type": "string"}, - }, - "required": ["entity", "definition"] - } - }, - "relationships": { - "type": "array", - "items": { - "type": "object", - "properties": { - "subject": {"type": "string"}, - "predicate": {"type": "string"}, - "object": {"type": "string"}, - "object-entity": {"type": "boolean"} - }, - "required": ["subject", "predicate", "object"] - } - } - }, - "required": ["definitions", "relationships"] - } - } - } -}