@@ -242,7 +242,7 @@ async def generate(self, partition_config: Dict, generate_config: Dict):
242242 self .synthesizer_llm_client ,
243243 self .tokenizer_instance ,
244244 self .graph_storage ,
245- partition_config ["ece_params " ],
245+ partition_config ["method_params " ],
246246 self .text_chunks_storage ,
247247 self .progress_bar ,
248248 )
@@ -251,7 +251,7 @@ async def generate(self, partition_config: Dict, generate_config: Dict):
251251 self .synthesizer_llm_client ,
252252 self .tokenizer_instance ,
253253 self .graph_storage ,
254- partition_config ["ece_params " ],
254+ partition_config ["method_params " ],
255255 self .text_chunks_storage ,
256256 self .progress_bar ,
257257 )
@@ -260,15 +260,15 @@ async def generate(self, partition_config: Dict, generate_config: Dict):
260260 self .synthesizer_llm_client ,
261261 self .tokenizer_instance ,
262262 self .graph_storage ,
263- partition_config ["ece_params " ],
263+ partition_config ["method_params " ],
264264 self .text_chunks_storage ,
265265 self .progress_bar ,
266266 )
267267 elif mode == "cot" :
268268 results = await generate_cot (
269269 self .graph_storage ,
270270 self .synthesizer_llm_client ,
271- method_params = partition_config ["leiden_params " ],
271+ method_params = partition_config ["method_params " ],
272272 )
273273 else :
274274 raise ValueError (f"Unknown generation mode: { mode } " )
0 commit comments