langchain-ai / langchain-weaviate

MIT License
35 stars 15 forks source link

Add "properties" and "fusionType" Variables to WeaviateVectorStore #193

Closed AlSaltAlBahri closed 1 week ago

AlSaltAlBahri commented 5 months ago

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

hsm207 commented 4 months ago

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

dudanogueira commented 1 week ago

Hi! Closing as this is already implemented.