dspy icon indicating copy to clipboard operation
dspy copied to clipboard

Mising inport for Mongo retriever

Open estaar opened this issue 6 months ago • 2 comments

The dspy/retrieve/mongodb_atlas_rm.py is missing a dspy import. Running the import gives the following error.

from dspy.retrieve.mongodb_atlas_rm import MongoDBAtlasRM

Error: 
---> 71 class MongoDBAtlasRM(dspy.Retrieve):
     72     def __init__(
     73         self,
     74         db_name: str,
   (...)
     79         embedding_model: str = "text-embedding-ada-002",
     80     ):
     81         super().__init__(k=k)

NameError: name 'dspy' is not defined

estaar avatar Aug 08 '24 11:08 estaar