dspy icon indicating copy to clipboard operation
dspy copied to clipboard

Weaviate RM should NOT assume that "content" contains the text of the passage

Open gopidon opened this issue 1 year ago • 1 comments

Hi @CShorten

File: dspy.retrieve.weaviate_rm, line 74

Give the flexibility to pass the the name of the text field as a parameter along with the collection name. Something like below:

WeaviateRM( weaviate_collection_name= "<collection_name>", weaviate_collection_text_field="", weaviate_client=weaviate.Client("") )

gopidon avatar Feb 09 '24 02:02 gopidon

Hey Gopi! Thanks for bringing this up, this will resolve it!

https://github.com/stanfordnlp/dspy/pull/360

CShorten avatar Feb 09 '24 03:02 CShorten