File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,6 @@ def _initialize_client(self, config: Optional[Dict] = None) -> Any:
212212 merged_config = self ._initialize_faiss_client (config )
213213
214214
215-
216215 # Graph backend providers
217216 if os .environ .get ("NEPTUNE_ANALYTICS_GRAPH_IDENTIFIER" ) and os .environ .get ("NEPTUNE_DATABASE_ENDPOINT" ):
218217 raise RuntimeError ("""Conflicting backend configurations:
@@ -221,10 +220,10 @@ def _initialize_client(self, config: Optional[Dict] = None) -> Any:
221220
222221 if os .environ .get ("NEPTUNE_ANALYTICS_GRAPH_IDENTIFIER" ):
223222 logger .debug ("Using Neptune Analytics graph backend (Mem0Memory with Neptune Analytics)" )
224- config = self ._configure_neptune_analytics_backend ( config )
223+ merged_config = self ._configure_neptune_analytics_graph_backend ( merged_config )
225224 elif os .environ .get ("NEPTUNE_DATABASE_ENDPOINT" ):
226225 logger .debug ("Using Neptune Database graph backend (Mem0Memory with Neptune Database)" )
227- config = self ._configure_neptune_backend (config )
226+ merged_config = self ._configure_neptune_backend (merged_config )
228227
229228
230229 return Mem0Memory .from_config (config_dict = merged_config )
You can’t perform that action at this time.
0 commit comments