weaviate / recipes

This repository shares end-to-end notebooks on how to use various Weaviate features and integrations!
558 stars 104 forks source link

WeaviateClient has no attribute 'query' #63

Closed koljanos closed 6 months ago

koljanos commented 6 months ago

Hey, I've got here from Connor Shorten's video about llama3 local video. Hey, when running the integrations/dspy/llms/Llama3.ipynb I get this error: AttributeError: 'WeaviateClient' object has no attribute 'query' I have: dspy-ai = "^2.4.5" langfuse = "^2.27.0" weaviate-client = "^4.5.5" Installed, I've tried version 3 of weaviate-client, but got nowhere, help please :D

erika-cardenas commented 6 months ago

Hi @koljanos, 🙂 Thanks so much for creating the issue! @CShorten will take a look and share the version requirements for DSPy and Weaviate soon.

CShorten commented 6 months ago

Hey @koljanos, apologies for this -- we are asking to rebuild the pypi package with the fix here - https://github.com/stanfordnlp/dspy/blob/main/dspy/retrieve/weaviate_rm.py#L85. In the meantime, would you be alright with building from source?

koljanos commented 6 months ago

Allright, will do, thanks a lot!!

CShorten commented 6 months ago

@erika-cardenas let's close after merging this one - https://github.com/stanfordnlp/dspy/pull/822. One more thing to be resolved I think.