Skip to content

Commit

Permalink
[Fix] Add .include_delim to the Chunker
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavnicksm committed Feb 6, 2025
1 parent a3b04d1 commit 67cea70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/chonkie/chunker/late.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def __init__(self,
self.min_characters_per_sentence = min_characters_per_sentence
self.approximate = approximate
self.delim = delim
self.include_delim = include_delim
self.sep = '🦛'

# Initialise the embeddings via AutoEmbeddings
Expand Down
1 change: 1 addition & 0 deletions src/chonkie/chunker/semantic.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def __init__(
self.min_characters_per_sentence = min_characters_per_sentence
self.threshold_step = threshold_step
self.delim = delim
self.include_delim = include_delim
self.sep = "🦛"
self.return_type = return_type

Expand Down

0 comments on commit 67cea70

Please sign in to comment.