Overview
AgentMind uses semantic search to find relevant memories based on meaning, not just keywords. This guide covers advanced search techniques to get the most out of your agent’s memory.Search Fundamentals
Natural Language Queries
Similarity Threshold
Control result relevance with the threshold parameter:Advanced Search Strategies
1. Contextual Search
Add context to improve search accuracy:2. Multi-Query Strategy
Search with multiple queries for comprehensive results:3. Hierarchical Search
Start broad, then narrow down:Search Patterns
Question-Answer Pattern
Fact Retrieval Pattern
History Search Pattern
Metadata Filtering
Basic Filters
Advanced Filters
Performance Optimization
1. Caching Strategy
2. Batch Searching
3. Progressive Loading
Search Quality Metrics
Relevance Scoring
Search Effectiveness
Best Practices
- Use natural language: “What is the user’s email?” works better than “email user”
- Be specific: “John’s billing address” is better than “address”
- Include context: “Error messages from the payment system” vs just “errors”
- Set appropriate thresholds: Use high thresholds for critical data, lower for exploration
- Filter when possible: Use metadata filters to narrow search scope
- Cache frequently searched queries: Reduce API calls and improve response time
- Monitor search quality: Track relevance scores to improve queries