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.

107 B
Raw Blame
from fastapi import Request


def get_brain_id(request: Request) -> str:
    return request.state.brain_id