Merged
Conversation
jamebobob
pushed a commit
to jamebobob/mem0-vigil-recall
that referenced
this pull request
Mar 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📚 Update documentation for categories filter usage
Summary
Updated documentation across multiple files to clarify the proper usage of the
categoriesfield in memory search and retrieval filters. The documentation now provides clear examples showing the correct syntax for both partial and exact matching.Changes Made
1. OpenAPI Specification (
docs/openapi.json)containsfor partial matching andinfor exact matching2. V2 Search Memories API Reference (
docs/api-reference/memory/v2-search-memories.mdx){"categories": {"contains": "finance"}}for partial matching{"categories": {"in": ["personal_information"]}}for exact matching3. Advanced Memory Operations Guide (
docs/platform/advanced-memory-operations.mdx)Key Improvements
✅ Clear Usage Patterns: Documentation now explicitly shows two main approaches:
containsoperator for partial string matching within categoriesinoperator for exact category matching from a list✅ Consistent Examples: All code examples use consistent user_id (
alice) and realistic category values✅ Multi-Language Support: Examples provided in Python, JavaScript, and cURL formats
✅ Comprehensive Coverage: Updated descriptions in both search and retrieval operations
Before/After
Before: Generic mention that categories field supports various operators
After: Specific guidance with concrete examples:
Impact
Files Modified
docs/openapi.jsondocs/api-reference/memory/v2-search-memories.mdxdocs/platform/advanced-memory-operations.mdx