mem0
mem0 copied to clipboard
Adding Tags to add(doc_url, tags=["wikipedia", "subject1"]) and query(tags_to_include=["wikipedia"])
🚀 The feature
Enable setting tags with resources added via .add(..., tags=[]), so that when querying via .query(..., include_tags=[], exclude_tags=[]) we can include/exclude specific tags, or global search when no tags are specified
Motivation, pitch
When adding a lot of resources on different subjects and sources, when querying it could be important to be able to focus on some subjects or exclude some sources depending on usage even if it semantically close to the query