Skip to content

Commit

Permalink
Merge pull request #1330 from kritinv/embedder-intialization-fix
Browse files Browse the repository at this point in the history
embedder bug fix
  • Loading branch information
penguine-ip authored Jan 31, 2025
2 parents 5a3a32f + 0492d46 commit c8fa457
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deepeval/synthesizer/synthesizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit c8fa457

Please sign in to comment.