34 lines
1.0 KiB
Python
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",
|
|
]
|