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 by filename #883

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Query by filename #883

wants to merge 3 commits into from

Conversation

ahuang11
Copy link
Contributor

@ahuang11 ahuang11 commented Dec 18, 2024

Closes #873

For context, I uploaded two completely separate documents:

  1. a receipt
  2. an org chart

When I asked what's in the receipt, it referenced contents from the org chart instead of the receipt because the receipt doesn't mention it's a receipt in its contents.

This PR adds some weights to the relevancy based on filename

Copy link
Collaborator

@amaloney amaloney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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

Successfully merging this pull request may close these issues.

RAG should consider filename
2 participants