Skip to content

[BUG] Incompatible metadata extraction for Qdrant Retriever with Extract Metadata Retriever #3874

@kirisame-wang

Description

@kirisame-wang

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
image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions