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

Add effective_search_ratio to vectorstore #18

Merged
merged 6 commits into from
Dec 9, 2024

Conversation

tomasonjo
Copy link
Contributor

effective_search_ratio parameter allows you to improve query accuracy by increasing the potential candidate pool from lucene index and then filtering back down to k with Cypher

@tomasonjo
Copy link
Contributor Author

tomasonjo commented Dec 6, 2024 via email

@alexthomas93
Copy link
Collaborator

alexthomas93 commented Dec 6, 2024

LGTM @tomasonjo I think the unit tests just need updating. Could you also update the CHANGELOG with the comment below?

@alexthomas93
Copy link
Collaborator

@CodiumAI-Agent /update_changelog

@CodiumAI-Agent
Copy link

Changelog updates: 🔄

Added

  • Introduced effective_search_ratio parameter in Neo4jVector to enhance query accuracy by adjusting the candidate pool size during similarity searches.

to commit the new content to the CHANGELOG.md file, please type:
'/update_changelog --pr_update_changelog.push_changelog_changes=true'

@alexthomas93 alexthomas93 merged commit 2392837 into langchain-ai:main Dec 9, 2024
8 checks passed
@CodiumAI-Agent
Copy link

Changelog updates: 🔄

Next

Added

  • Enhanced similarity search functionality in Neo4jVector with the effective_search_ratio parameter, allowing improved control over query accuracy and performance.

to commit the new content to the CHANGELOG.md file, please type:
'/update_changelog --pr_update_changelog.push_changelog_changes=true'

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.

4 participants