weaviate / recipes

This repository shares end-to-end notebooks on how to use various Weaviate features and integrations!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WeaviateClient has no attribute 'query'

koljanos opened this issue · comments

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

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

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?

Allright, will do, thanks a lot!!

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