Could we please update the Weaviate Langchain retriever client to the new V4 version.
And also if we can add the following functionality:
-Multi tenancy (this was only added to the Langchain Weaviate Vector store package)
-auto_cut: This is one of the best features of Weaviate, much better than a hard top_k cut off.
if not isinstance(values[“client”], weaviate.Client):
client = values[“client”]
raise ValueError(
f"client should be an instance of weaviate.Client, got {type(client)}"
)
and execution results
ValidationError: 1 validation error for WeaviateHybridSearchRetriever root
client should be an instance of weaviate.Client, got <class ‘weaviate.client.WeaviateClient’> (type=value_error)