Skip to content

Commit

Permalink
splitters need to be warmed up
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsbatista committed Jan 21, 2025
1 parent 1477960 commit e2ef152
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def _build_block_sizes(self):
self.splitters[block_size] = DocumentSplitter(
split_length=block_size, split_overlap=self.split_overlap, split_by=self.split_by
)
self.splitters[block_size].warm_up()

@staticmethod
def _add_meta_data(document: Document):
Expand Down

0 comments on commit e2ef152

Please sign in to comment.