This repository has been archived by the owner on Feb 15, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
fix(api): search vectorstore using only last message #939
Merged
alekst23
merged 4 commits into
main
from
938-bugapi-rag-uses-first-message-in-list-instead-of-last
Sep 4, 2024
Merged
fix(api): search vectorstore using only last message #939
alekst23
merged 4 commits into
main
from
938-bugapi-rag-uses-first-message-in-list-instead-of-last
Sep 4, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✅ Deploy Preview for leapfrogai-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
jalling97
reviewed
Aug 26, 2024
There's one issue to call out here, which is the changes to |
CollectiveUnicorn
suggested changes
Aug 27, 2024
YrrepNoj
suggested changes
Aug 28, 2024
70b6dda
to
f49cb75
Compare
justinthelaw
approved these changes
Sep 4, 2024
CollectiveUnicorn
approved these changes
Sep 4, 2024
6326a85
to
9e31599
Compare
CollectiveUnicorn
approved these changes
Sep 4, 2024
YrrepNoj
approved these changes
Sep 4, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Adjust the RAG implementation to search the vector store using the last user message instead of the first.
Add a needle in a haystack test to confirm problem and fix.
Apply fix for indexing already existing files to return the found file instead of 500.