Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DocumentJoiner receives unfiltered documents when using LLM-generated filters #8389

Open
bglearning opened this issue Sep 23, 2024 · 0 comments

Comments

@bglearning
Copy link
Contributor

bglearning commented Sep 23, 2024

Note: This issue seems to be a pipeline.run bug and is fixed by the subgraphs branch.

In a pipeline with dynamic llm-generated filters (based on query, similar to this blog-post) i.e. basically query -> prompt-builder -> llm -> filter-parser -> retriever -> document_joiner the retriever generates filtered documents but the document_joiner ignores the generated filter.

Example Colab.

Screenshot 2024-09-23 at 19 09 20 Screenshot 2024-09-23 at 19 09 31

For Fix

It doesn't occur in the subgraphs branch. (Colab)
Screenshot 2024-09-23 at 19 09 43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant