LLM-Based Memory File Selection
- Entity ID:
ent-20260423-p2a030000001 - Type:
mechanism - Scope:
private - Status:
active
Description
Claude Code does not use embeddings or a vector similarity index for memory retrieval. Instead it uses an LLM-based scan of memory-file headers to select up to five relevant files on demand, surfacing them at file granularity rather than entry granularity.
Key claims
- Memory retrieval uses LLM scan, not embeddings
Relations
- LLM-Based Memory File Selection --[implements]--> Grep Over RAG