### What problem does this PR solve? Feat: Add variables to the metadata filtering function of the knowledge retrieval component. #10861 ### Type of change - [x] New Feature (non-breaking change which adds functionality)