Add metadata filtering capabilities to memory retrieval #20

Open
thierrypdamiba wants to merge 3 commits from thierrypdamiba/metadata-filtering into master
thierrypdamiba commented 2025-03-08 03:05:22 +00:00 (Migrated from github.com)

• Support storing memories with arbitrary metadata
• Add metadata filtering in find_memories to filter by metadata fields
• Add configurable result limits for memory retrieval
• Return relevance scores with search results
• Format metadata in search results for better readability

Screenshot 2025-03-07 at 7 08 43 PM
Screenshot 2025-03-07 at 7 09 00 PM

• Support storing memories with arbitrary metadata • Add metadata filtering in find_memories to filter by metadata fields • Add configurable result limits for memory retrieval • Return relevance scores with search results • Format metadata in search results for better readability ![Screenshot 2025-03-07 at 7 08 43 PM](https://github.com/user-attachments/assets/82e41a98-049f-4999-9297-1f3b87970403) ![Screenshot 2025-03-07 at 7 09 00 PM](https://github.com/user-attachments/assets/e773de45-85ec-4ed4-93ce-53987431b4a7)
kacperlukawski commented 2025-03-10 11:08:23 +00:00 (Migrated from github.com)

@thierrypdamiba I can't see any code changes made by this PR thinking: Could you please verify all the files were committed?

@thierrypdamiba I can't see any code changes made by this PR thinking: Could you please verify all the files were committed?
thierrypdamiba commented 2025-03-10 22:23:56 +00:00 (Migrated from github.com)

I can see how that might be helpful. Updated to include the files.

I can see how that might be helpful. Updated to include the files.
This pull request has changes conflicting with the target branch.
  • src/mcp_server_qdrant/qdrant.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin thierrypdamiba/metadata-filtering:thierrypdamiba/metadata-filtering
git switch thierrypdamiba/metadata-filtering

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff thierrypdamiba/metadata-filtering
git switch thierrypdamiba/metadata-filtering
git rebase master
git switch master
git merge --ff-only thierrypdamiba/metadata-filtering
git switch thierrypdamiba/metadata-filtering
git rebase master
git switch master
git merge --no-ff thierrypdamiba/metadata-filtering
git switch master
git merge --squash thierrypdamiba/metadata-filtering
git switch master
git merge --ff-only thierrypdamiba/metadata-filtering
git switch master
git merge thierrypdamiba/metadata-filtering
git push origin master
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Aygents/mcp-server-qdrant!20
No description provided.