Skip to content

Add return_embedding param to FilterRetriever #9577

Open
@bilgeyucel

Description

@bilgeyucel

Is your feature request related to a problem? Please describe.
It's not possible to remove the embeddings from the Documents that the FilterRetriever returns. These embeddings fill up the memory and context limit for LLMs if retrieved docs are passed directly to an LLM in Agent

Describe the solution you'd like
have return_embedding param for FilterRetriever like we have in other retrievers

Describe alternatives you've considered
Based on the architectures, there are different approaches to eliminate this, such as using outputs_to_string in Agent

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium priority, add to the next sprint if no P1 available

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions