Memory Scopes
Provider Options
Per-Chat Memory Configuration
Each chat can independently configure:- Enable/disable memory (
memoryEnabled) - Read scopes — Which memory scopes to query (
memoryReadScopes) - Write scope — Where new memories are stored (
memoryWriteScope) - Token budget — Max tokens/percentage for memory context injection
- Retrieval strategy —
semantic,recency,hybrid,semantic_keyword, orall - Source locks — Prevent users from disabling specific memory sources per-chat
Admin Configuration
Configure in Admin → Memory ([#/admin/memory], setting key memorySettings):
- Global enable/disable
- Provider selection and credentials
- Default retention, search limits, and similarity thresholds
- Organization vs personal memory toggles
- Memory extraction instructions for quality tuning
- Cleanup scheduler for expired memories