The community member asked if it is possible to apply 'MetadataFilters' to index.as_retriever() or retriever.retrieve(), similar to how it is done in as_chat_engine(filters=). Another community member responded that this should work and provided a link to an example in the LlamaIndex documentation.
Is it possible to apply a 'MetadataFilters' to index.as_retriever() or retriever.retrieve(), similarly to how you would do it in as_chat_engine(filters=)?