Files
riotpiao.com/public/poimen-memory/dataflow.json
T

37 lines
2.3 KiB
JSON
Raw Normal View History

{
"schema_version": 1,
"diagram_type": "dataflow",
"meta": {
"title": "Poimen Ingest Pipeline",
"quality_profile": "showcase",
"viewBox": [1020, 540]
},
"stages": [
{ "label": "Input" },
{ "label": "Extract" },
{ "label": "Store" },
{ "label": "Serve" }
],
"nodes": [
{ "id": "episode", "type": "external", "label": "Episode", "sublabel": "conversation text", "stage": 0, "row": 1, "tag": "messages" },
{ "id": "entities", "type": "backend", "label": "Entity Extractor", "sublabel": "LLM + reflection", "stage": 1, "row": 0, "tag": "person / tool" },
{ "id": "facts", "type": "backend", "label": "Fact Extractor", "sublabel": "LLM relationships", "stage": 1, "row": 2, "tag": "edges" },
{ "id": "graph", "type": "database", "label": "Temporal Graph", "sublabel": "pgvector", "stage": 2, "row": 1, "tag": "HNSW" },
{ "id": "query", "type": "backend", "label": "Query API", "sublabel": "hybrid search", "stage": 3, "row": 0, "tag": "BFS + cosine" },
{ "id": "viz", "type": "frontend", "label": "Visualization", "sublabel": "React Flow", "stage": 3, "row": 2, "tag": "graph UI" }
],
"flows": [
{ "id": "f1", "from": "episode", "to": "entities", "label": "text", "classification": "ingest", "variant": "emphasis" },
{ "id": "f2", "from": "episode", "to": "facts", "label": "text", "classification": "ingest", "variant": "default" },
{ "id": "f3", "from": "entities", "to": "graph", "label": "persist nodes", "classification": "write", "variant": "emphasis" },
{ "id": "f4", "from": "facts", "to": "graph", "label": "persist edges", "classification": "write", "variant": "emphasis" },
{ "id": "f5", "from": "graph", "to": "query", "label": "search", "classification": "read", "variant": "emphasis" },
{ "id": "f6", "from": "graph", "to": "viz", "label": "graph data", "classification": "read", "variant": "dashed" }
],
"cards": [
{ "dot": "emerald", "title": "Extraction", "items": ["LLM extracts entities with type + summary", "Second LLM call extracts edges between entities", "Reflection filters hallucinated entities"] },
{ "dot": "cyan", "title": "Storage", "items": ["Temporal graph with bi-temporal edges", "768-dim HNSW embeddings for similarity"] },
{ "dot": "orange", "title": "Retrieval", "items": ["BFS traversal + cosine similarity", "React Flow JSON for interactive graph"] }
]
}