graph store memory
This commit is contained in:
parent
6b3e391acf
commit
c5110f61b0
3 changed files with 101 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ from __future__ import annotations
|
|||
from typing import Protocol
|
||||
|
||||
from kontextual_engine.core import (
|
||||
AuditEvent,
|
||||
LifecycleState,
|
||||
MemoryEdgeRecord,
|
||||
MemoryEventRecord,
|
||||
|
|
@ -45,3 +46,13 @@ class MemoryGraphRepository(Protocol):
|
|||
graph_id: str | None = None,
|
||||
kind: str | None = None,
|
||||
) -> list[MemoryEventRecord]: ...
|
||||
|
||||
def save_memory_audit_event(self, event: AuditEvent) -> AuditEvent: ...
|
||||
def get_memory_audit_event(self, event_id: str) -> AuditEvent: ...
|
||||
def list_memory_audit_events(
|
||||
self,
|
||||
*,
|
||||
graph_id: str | None = None,
|
||||
correlation_id: str | None = None,
|
||||
operation: str | None = None,
|
||||
) -> list[AuditEvent]: ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue