Skip to content

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

@matt-hull0

Description

@matt-hull0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions