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

[Bug]: Update Context will try to get more docs even when there are no more docs in the db #3281

Closed
thinkall opened this issue Aug 2, 2024 · 0 comments · Fixed by #3282
Closed
Assignees
Labels
bug Something isn't working rag retrieve-augmented generative agents

Comments

@thinkall
Copy link
Collaborator

thinkall commented Aug 2, 2024

Describe the bug

image
When Update Context is triggered, it will try multiple times to get new contents, but in the case of there are no more new docs in the db, there is no need to try getting more docs.

Steps to reproduce

No response

Model Used

No response

Expected Behavior

Number of requested results 60 is greater than number of elements in index 2, updating n_results = 2 should happen no more than once for one query.

Screenshots and logs

No response

Additional Information

No response

@thinkall thinkall added bug Something isn't working rag retrieve-augmented generative agents labels Aug 2, 2024
@thinkall thinkall self-assigned this Aug 2, 2024
@thinkall thinkall mentioned this issue Aug 2, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rag retrieve-augmented generative agents
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant