-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update TextSplitter implementation
This commit updates the TextSplitter logic to use crate for splitting text. It also removes the usage of and simplifies the struct by removing unnecessary fields. Additionally, it adds the option to . It also simplifies the implementation of by using the newly adopted crate.
- Loading branch information
1 parent
ee60f11
commit fa564bf
Showing
6 changed files
with
22 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
mod options; | ||
mod recursive_character_splitter; | ||
mod text_splitter; | ||
mod token_splitter; | ||
|
||
pub use options::*; | ||
pub use recursive_character_splitter::*; | ||
pub use text_splitter::*; | ||
pub use token_splitter::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.