Qdrant dynamic filtering vs full search

I have stored user data in Qdrant together with metadata that contains categories and tags. When the user asks a question in the chat (eg: “what is the difference between category A and category B”), Qdrant does a full search in all user data.

Would it be more efficient to somehow have dynamic filtering? Eg, if the user asks questions around category A and B, somehow have the AI agent implement custom filtering to search within those categories only?

Or does that not make sense?

Hey Jordy,

The approach makes sense, and you can already implement this by connecting a sub-workflow tool to an AI Agent and implementing a custom retrieval logic in a sub-workflow, which may include e.g. metadata filtering.

Hope this will help!