-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to split document in a smarter way #6
Comments
Simplest looks to use the built-in |
second this |
I'm using: |
Hi, Original Working Code |
You can find "SpacyTextSplitter" class code in the Langchain that implement on "TextSplitter" class. Some code like the following:
|
Thanks a lot!! |
Hello,
I understand that we need to split document in smaller piece because OpenAI can not get the whole texts as input.
However, my challenge is to cut texts in a smart way so it does not cut the text in the middle of a sentence.
Any luck about that?
The text was updated successfully, but these errors were encountered: