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 "properties" and "fusionType" Variables to WeaviateVectorStore #193

Open
AlSaltAlBahri opened this issue Jun 12, 2024 · 1 comment
Open
Labels
documentation Improvements or additions to documentation

Comments

@AlSaltAlBahri
Copy link

Is your feature request related to a problem? Please describe.
The WeaviateVectorStore class in Langchain-Weaviate currently doesn't accept properties and fusionType, limiting the use of Weaviate's full hybrid search capabilities.

Describe the solution you'd like
Add properties (to specify search properties) and fusionType (to choose the hybrid fusion algorithm) for better search results

Describe alternatives you've considered
N/A

Additional context
N/A

@AlSaltAlBahri AlSaltAlBahri added the enhancement New feature or request label Jun 12, 2024
@hsm207
Copy link
Collaborator

hsm207 commented Jul 17, 2024

From the documentation:

The similarity_search function allows you to pass additional arguments as kwargs. See this reference doc for the available arguments.

So you can just the necessary extra args to it and it will get passed to weaviate's hybrid function

@hsm207 hsm207 added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants