Skip to content

BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications.

558 B
Raw Blame
"""
File: /natural_language.py
Created Date: Friday January 2nd 2026
Author: Christian Nonis <[email protected]>
-----
Last Modified: Friday January 2nd 2026 10:59:44 am
Modified By: the developer formerly known as Christian Nonis at <[email protected]>
-----
"""

from typing import List, Tuple


from src.constants.kg import Node, Predicate


def hops_to_natural_language(
    hops: List[Tuple[Node, List[Tuple[Predicate, Node, List[Tuple[Predicate, Node]]]]]],
) -> str:
    """
    Currently only supports 2nd degree hops.
    """
    pass