Spaces:
Running
Running
File size: 454 Bytes
4d5727a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | """
src/memory/graph.py — Knowledge graph construction.
Public API:
folder_graph_build(kv) — build graph nodes+edges from folder observations
"""
from __future__ import annotations
from typing import Any, Dict
from db import StateKV
import functions as _fn
def folder_graph_build(kv: StateKV) -> Dict[str, Any]:
"""Build a folder-based knowledge graph with nodes, edges, and color assignments."""
return _fn.folder_graph_build(kv)
|