Describe the bug
Qdrant Retriever is incompatible with the newly added Extract Metadata Retriever feature from #3579.
To Reproduce
Steps to reproduce the behavior:
Set up a tool agent with the retriever tool chained with Qdrant as the vector store and Extract Metadata Retriever as the retriever.
Expected behavior
The Extract Metadata Retriever should extract metadata in the form of key-value pairs within a JSON-structured output. This metadata should then be used to retrieve relevant documents based on the specified filter.
Screenshots

Additional context
It seems that the Extract Metadata Retriever currently only extracts unnested key-value pairs as metadata. However, Qdrant requires nested keys for filtering (see the documentation), which is causing compatibility issues.
Describe the bug
Qdrant Retrieveris incompatible with the newly addedExtract Metadata Retrieverfeature from #3579.To Reproduce
Steps to reproduce the behavior:
Set up a tool agent with the retriever tool chained with Qdrant as the vector store and
Extract Metadata Retrieveras the retriever.Expected behavior
The
Extract Metadata Retrievershould extract metadata in the form of key-value pairs within a JSON-structured output. This metadata should then be used to retrieve relevant documents based on the specified filter.Screenshots

Additional context
It seems that the
Extract Metadata Retrievercurrently only extracts unnested key-value pairs as metadata. However, Qdrant requires nested keys for filtering (see the documentation), which is causing compatibility issues.