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

Query Construction generates the wrong filter on the publish_date metadata filter #22

Open
matt-hull0 opened this issue Jun 12, 2024 · 0 comments

Comments

@matt-hull0
Copy link

https://github.com/langchain-ai/rag-from-scratch/blob/abafe332aea1b841989b830a494f97634ecbe5f0/rag_from_scratch_10_and_11.ipynb#L626

image

For video's published before 2024, the filter should be latest_publish_date and not earliest_publish_date.

Is there anything that could be done in LangChain to improve the performance and give the correct response? Or is it a case of trying a different LLM that might perform better?

Many thanks

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