wu981526092 commited on
Commit
2c3bb26
·
1 Parent(s): 9ad889b

🔧 Fix window KG entity reference - remove invalid rel_009 from window_0

Browse files
backend/database/samples/knowledge_graphs/kg_algorithm_sample_1_window_0.json CHANGED
@@ -3,7 +3,7 @@
3
  "trace_index": 0,
4
  "graph_data": {
5
  "system_name": "Location-Based Restaurant Discovery System",
6
- "system_summary": "Initial stage of the Location-Based Restaurant Discovery System focusing on location identification and geographic analysis. The User Restaurant Query (input_001) is processed by the Location-Based Services Expert (agent_001) who begins Geographic Proximity Analysis (task_001). Computer Terminal (agent_004) provides computational support. This window shows the foundational setup with 3 entities and 3 relationships.",
7
  "entities": [
8
  {
9
  "id": "agent_001",
@@ -78,21 +78,6 @@
78
  "confidence": 0.92
79
  }
80
  ]
81
- },
82
- {
83
- "id": "rel_009",
84
- "source": "agent_004",
85
- "target": "task_001",
86
- "type": "REQUIRED_BY",
87
- "importance": "MEDIUM",
88
- "interaction_prompt": "Computational task requires Computer Terminal for execution",
89
- "interaction_prompt_ref": [
90
- {
91
- "line_start": 20,
92
- "line_end": 25,
93
- "confidence": 0.8
94
- }
95
- ]
96
  }
97
  ],
98
  "failures": [],
@@ -108,7 +93,7 @@
108
  "window_start_char": 0,
109
  "window_end_char": 8675,
110
  "entity_count": 3,
111
- "relation_count": 3,
112
  "failure_count": 0,
113
  "optimization_count": 0,
114
  "created_at": "2025-09-01T20:30:56.631864"
 
3
  "trace_index": 0,
4
  "graph_data": {
5
  "system_name": "Location-Based Restaurant Discovery System",
6
+ "system_summary": "Initial stage of the Location-Based Restaurant Discovery System focusing on location identification and geographic analysis. The User Restaurant Query (input_001) is processed by the Location-Based Services Expert (agent_001) who begins Geographic Proximity Analysis (task_001). This window shows the foundational setup with 3 entities and 2 relationships.",
7
  "entities": [
8
  {
9
  "id": "agent_001",
 
78
  "confidence": 0.92
79
  }
80
  ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  }
82
  ],
83
  "failures": [],
 
93
  "window_start_char": 0,
94
  "window_end_char": 8675,
95
  "entity_count": 3,
96
+ "relation_count": 2,
97
  "failure_count": 0,
98
  "optimization_count": 0,
99
  "created_at": "2025-09-01T20:30:56.631864"