Skip to content

Commit

Permalink
Merge pull request #101 from chonkie-ai/development
Browse files Browse the repository at this point in the history
[fix] Add LateChunker support to chunker and module exports
  • Loading branch information
bhavnicksm authored Dec 23, 2024
2 parents c2aa9e3 + 4be8308 commit faa1778
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/chonkie/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
SentenceChunker,
TokenChunker,
WordChunker,
LateChunker,
)
from .embeddings import (
AutoEmbeddings,
Expand All @@ -26,6 +27,7 @@
SemanticSentence,
Sentence,
SentenceChunk,
LateChunk,
)

__version__ = "0.3.0"
Expand All @@ -47,6 +49,7 @@
"SemanticChunk",
"Sentence",
"SemanticSentence",
"LateChunk",
]

# Add all chunker classes to __all__
Expand All @@ -57,6 +60,7 @@
"SentenceChunker",
"SemanticChunker",
"SDPMChunker",
"LateChunker",
]

# Add all embeddings classes to __all__
Expand Down
2 changes: 2 additions & 0 deletions src/chonkie/chunker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from .sentence import SentenceChunker
from .token import TokenChunker
from .word import WordChunker
from .late import LateChunker

__all__ = [
"BaseChunker",
Expand All @@ -14,4 +15,5 @@
"SentenceChunker",
"SemanticChunker",
"SDPMChunker",
"LateChunker",
]

0 comments on commit faa1778

Please sign in to comment.