What are Memories?
Memories are the facts, preferences, and knowledge that Recallr automatically extracts from your conversations. Think of them as the key takeaways from each session - the important information worth remembering for future interactions.Memory Categories
Memory categories help you organize and filter memories based on their type or domain. Categories make it easier to retrieve relevant memories and maintain clean, structured knowledge about your users.Managing Categories
Categories are configured through the Recallr Dashboard for each project. You can create custom categories that match your application’s needs.Customizing Memory Extraction
Recallr provides powerful customization options to tailor the memory extraction process to your specific needs. Configure these settings through the Dashboard to control how memories are generated from conversations.Generation Preferences
Inclusion Instructions
Inclusion Instructions
Custom instructions to guide what aspects should be included in generated memories.
List of specific instructions to emphasize certain aspects during memory extraction.
Positive Examples
Positive Examples
Examples of well-formatted, high-quality memories to guide the extraction model.
Short examples demonstrating the desired memory format and content.
Exclusion Instructions
Exclusion Instructions
Instructions to prevent certain types of information from being stored as memories.
Specific guidelines for what to avoid capturing as memories.
Negative Examples
Negative Examples
Examples of poor-quality memories that should be avoided.
Short examples showing what NOT to extract as memories.
False Positive Examples
False Positive Examples
Memories that were incorrectly extracted when they shouldn’t have been (actual negative, predicted positive).
Examples where the system incorrectly created a memory. Use these to fine-tune extraction precision.
False Negative Examples
False Negative Examples
Important information that was missed during extraction (actual positive, predicted negative).
Examples where the system failed to create a memory that should have been created. Use these to improve extraction recall.
Similarity Check Configuration
Similarity Check Configuration
Control how Recallr checks for redundant memories during generation.
Number of existing memories to check for similarity before creating a new memory. Range: 10-50.Higher values provide more thorough redundancy checking but increase processing time.
Recallr uses LLM-based similarity checking to avoid creating duplicate or highly similar memories. This parameter controls how many existing memories are evaluated for each new memory candidate.
Merge Conflict Handling
Merge Conflict Handling
Configure whether the system should raise merge conflicts for ambiguous situations.
When
true, Recallr will create merge conflicts when it detects potentially contradictory or ambiguous information. When false, it will automatically resolve conflicts using its best judgment.Enable merge conflicts for critical applications where you need human review of ambiguous updates. Disable for faster processing when automated resolution is acceptable.
Customizing Memory Recall
The recall system determines which memories are retrieved when you callgetContext(). Customize recall behavior through the Dashboard to optimize for your specific use case.
Recall Strategies
Recallr offers three recall strategies with different performance characteristics:Low Latency
Fastest retrieval with basic semantic search. Best for real-time applications where speed is critical.
Balanced
Combines multiple retrieval techniques for better accuracy with reasonable performance. Recommended for most use cases.
Agentic
Most comprehensive search using subqueries, keywords, and semantic similarity. Best when accuracy is paramount.
Recall Preferences
Configure these settings for Balanced and Agentic recall strategies:Custom Instructions
Custom Instructions
Guide the subquery and keyword generation process with specific instructions.
Instructions to help generate better search queries and keywords from user messages.
Subquery Configuration
Subquery Configuration
Control how subquery-based recall contributes to memory retrieval.
Weight for memories retrieved via subquery matching. Range: 0.0-1.0.Higher values give more importance to memories found through generated subqueries.
Example subqueries to guide the generation process.
Keyword Configuration
Keyword Configuration
Control how keyword-based recall contributes to memory retrieval.
Weight for memories retrieved via keyword matching. Range: 0.0-1.0.Higher values give more importance to memories found through keyword extraction.
Example keywords to guide the extraction process.
Summary Search Examples
Summary Search Examples
Guide how the system generates questions for searching session summaries.
Example questions that help retrieve relevant session summaries.
Memory Versioning
Recallr maintains a complete version history for each memory, allowing you to track how information evolves over time and understand why changes occurred.How Versioning Works
When information about a user is updated, Recallr doesn’t simply overwrite the old memory. Instead, it creates a new version and preserves the previous one with metadata explaining why it changed.Version Creation Reasons
Each memory version includes anexpiration_reason field that explains why a new version was created:
Indicates why this version was superseded by a new one.
Accessing Version History
- Python
- Node.js
Version history is included by default when listing memories. Set
include_previous_versions=False (Python) or includePreviousVersions: false (Node.js) to retrieve only current versions for improved performance.Benefits of Versioning
Audit Trail
Track how user information changes over time with complete history and reasons for each change.
Conflict Resolution
Understand the context of merge conflicts by reviewing what information existed before the contradiction emerged.
Rollback Capability
Access previous versions if new information turns out to be incorrect or if you need to analyze past states.
Debugging
Investigate issues in memory extraction by examining the full evolution of a memory and why versions changed.