Hybrid Search
Memorose retrieval combines multiple signals rather than relying on one search path.What Happens During Retrieval
- The query is embedded
- Vector retrieval runs against stored memory units
- Text retrieval runs against Tantivy
- Optional graph expansion uses
graph_depth - Shared organization knowledge can be included
- Results are merged into one ranked response
API Example
Useful Filters
org_id: include organization-scoped shared knowledgeagent_id: bias toward one agent’s procedural memorystart_timeandend_time: valid-time filteringas_of: point-in-time transaction filteringgraph_depth: expand from directly matched memory into related graph context
When Hybrid Beats Single-Mode Search
- Preference and profile recall
- Mixed factual and procedural lookup
- Queries that need both exact terms and semantic similarity
- Retrieval that benefits from graph neighbors or organization knowledge