MEMORY SYSTEM ARCHITECTURE: - Weaviate-based memory storage (Thought, Message, Conversation collections) - GPU embeddings with BAAI/bge-m3 (1024-dim, RTX 4070) - 9 MCP tools for Claude Desktop integration CORE MODULES (memory/): - core/embedding_service.py: GPU embedder singleton with PyTorch - schemas/memory_schemas.py: Weaviate schema definitions - mcp/thought_tools.py: add_thought, search_thoughts, get_thought - mcp/message_tools.py: add_message, get_messages, search_messages - mcp/conversation_tools.py: get_conversation, search_conversations, list_conversations FLASK TEMPLATES: - conversation_view.html: Display single conversation with messages - conversations.html: List all conversations with search - memories.html: Browse and search thoughts FEATURES: - Semantic search across thoughts, messages, conversations - Privacy levels (private, shared, public) - Thought types (reflection, question, intuition, observation) - Conversation categories with filtering - Message ordering and role-based display DATA (as of 2026-01-08): - 102 Thoughts - 377 Messages - 12 Conversations DOCUMENTATION: - memory/README_MCP_TOOLS.md: Complete API reference and usage examples All MCP tools tested and validated (see test_memory_mcp_tools.py in archive). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
25 lines
513 B
Python
25 lines
513 B
Python
"""
|
|
Memory Schemas Package.
|
|
|
|
Defines Weaviate schemas for Memory collections:
|
|
- Thought
|
|
- Conversation
|
|
- Message
|
|
"""
|
|
|
|
from memory.schemas.memory_schemas import (
|
|
create_thought_collection,
|
|
create_conversation_collection,
|
|
create_message_collection,
|
|
create_all_memory_schemas,
|
|
delete_memory_schemas,
|
|
)
|
|
|
|
__all__ = [
|
|
"create_thought_collection",
|
|
"create_conversation_collection",
|
|
"create_message_collection",
|
|
"create_all_memory_schemas",
|
|
"delete_memory_schemas",
|
|
]
|