mem0 icon indicating copy to clipboard operation
mem0 copied to clipboard

Adding Tags to add(doc_url, tags=["wikipedia", "subject1"]) and query(tags_to_include=["wikipedia"])

Open doxav opened this issue 1 year ago • 0 comments

🚀 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

doxav avatar Sep 19 '23 15:09 doxav