Add shared_memory backend (constants + helpers), UserMemory docstring (SUR-152)

This commit is contained in:
CREDO23 2026-02-06 16:43:52 +02:00
parent 9acf746698
commit f537dc211b
2 changed files with 41 additions and 3 deletions

View file

@ -801,9 +801,8 @@ class MemoryCategory(str, Enum):
class UserMemory(BaseModel, TimestampMixin):
"""
Stores facts, preferences, and context about users for personalized AI responses.
Similar to Claude's memory feature - enables the AI to remember user information
across conversations.
Private memory: facts, preferences, context per user per search space.
Used only for private chats (not shared/team chats).
"""
__tablename__ = "user_memories"