diff --git a/deepeval/synthesizer/synthesizer.py b/deepeval/synthesizer/synthesizer.py index 601e294c..e624e964 100644 --- a/deepeval/synthesizer/synthesizer.py +++ b/deepeval/synthesizer/synthesizer.py @@ -133,7 +133,7 @@ def generate_goldens_from_docs( # Generate contexts from provided docs if self.context_generator is None: self.context_generator = ContextGenerator( - document_paths=document_paths, + document_paths, embedder=context_construction_config.embedder, chunk_size=context_construction_config.chunk_size, chunk_overlap=context_construction_config.chunk_overlap, @@ -193,7 +193,7 @@ async def a_generate_goldens_from_docs( # Generate contexts from provided docs if self.context_generator is None: self.context_generator = ContextGenerator( - document_paths=document_paths, + document_paths, embedder=context_construction_config.embedder, chunk_size=context_construction_config.chunk_size, chunk_overlap=context_construction_config.chunk_overlap, @@ -675,8 +675,6 @@ def transform_distribution( ) -> Dict[PromptEvolution, float]: prompt_evolutions: Dict[PromptEvolution, float] = {} for evo, weight in evolutions.items(): - if evo == Evolution.MULTICONTEXT: - continue prompt_evolution = self.map_evolution_to_prompt_evolution(evo) prompt_evolutions[prompt_evolution] = weight return prompt_evolutions