Aulafy
Courses/Advanced and secure RAG/Local GraphRAG and graph-based memory

Local GraphRAG and graph-based memory

GraphRAG is not a magic word. It helps when relationships matter: people, companies, contracts, records, technical dependencies, or events that change over time.

  • Distinguish when vector search is enough and when a graph adds value.
  • Extract verifiable entities and relationships from documents.
  • Combine graph, chunks, and citations without losing traceability.
TerminalCode
Entidad:
  id: "cliente:acme"
  tipo: "cliente"
  nombre: "ACME S.L."
  fuente: "contrato-marco.pdf#p4"

Relacion:
  origen: "cliente:acme"
  tipo: "tiene_contrato"
  destino: "contrato:2026-03"
  evidencia: "contrato-marco.pdf#p4"

When it's worth it

  • Questions that span multiple documents or dates.
  • Auditing contracts, invoices, suppliers, or records.
  • Agent memory where who did what and when matters.
  • Technical documentation with dependencies between services.