Files
the-nexus/nexus/mempalace/__init__.py
Alexander Whitestone b7bf532f4e
Some checks failed
CI / test (pull_request) Failing after 1m7s
Review Approval Gate / verify-review (pull_request) Failing after 8s
CI / validate (pull_request) Failing after 1m24s
feat: add sovereign conversation artifacts slice (#1117)
2026-04-15 22:58:44 -04:00

34 lines
1.0 KiB
Python

"""nexus.mempalace — MemPalace integration for the Nexus fleet.
Public API for searching, configuring, and writing to MemPalace
local vector memory. Designed to be imported by both the
``evennia_mempalace`` plugin and any other harness component.
ChromaDB is an optional runtime dependency; the module degrades
gracefully when it is not installed (tests, CI, environments that
have not yet set up the palace).
"""
from __future__ import annotations
from nexus.mempalace.config import MEMPALACE_PATH, FLEET_WING
from nexus.mempalace.searcher import search_memories, add_memory, MemPalaceResult
from nexus.mempalace.conversation_artifacts import (
ConversationArtifact,
build_request_response_artifact,
extract_alexander_request_pairs,
normalize_speaker,
)
__all__ = [
"MEMPALACE_PATH",
"FLEET_WING",
"search_memories",
"add_memory",
"MemPalaceResult",
"ConversationArtifact",
"build_request_response_artifact",
"extract_alexander_request_pairs",
"normalize_speaker",
]