Closed FATIHISILGAN closed 4 months ago
Hi @FATIHISILGAN ,
It looks like the WeaviateRM requires you to specify the weaviate_collection_text_key
as well or else it defaults to ‘content’.
Let me know if setting that helps.
Hi @FATIHISILGAN ,
It looks like the WeaviateRM requires you to specify the
weaviate_collection_text_key
as well or else it defaults to ‘content’.Let me know if setting that helps.
Yes, it worked. I gave one of the property names of the collection in weaviate to the weaviate_colllection_text_key parameter and no more keyError:content error.
Thank you @arnavsinghvi11
I want to rag the models I downloaded to my local device with Ollama using weaviate vector db and dspy. I created a sample code but no matter which model I try with I get the error KeyError: 'content'.
Here are the parts of my sample code:
connect to weaviate
Create a simple collection of movies with title and description.
Insert movies
The rag is here and I also get the error here.
Here is the full error
Bye the way I tried also weaviate client v3 but it doesn't work.