-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
Documentation error under Text Splitter #3414
Comments
You can try to removing the
In the document |
Hi, @durgendra! I'm Dosu, and I'm helping the LangChain team manage their backlog. I wanted to let you know that we are marking this issue as stale. From what I understand, you pointed out an error in the documentation for the Text Splitter in the LangChain repository. Lengocgiang suggested a possible solution by removing a parameter in the code. However, I see that the issue has been resolved and the error in the documentation has been fixed. Before we close this issue, I wanted to check with you if it is still relevant to the latest version of the LangChain repository. If it is, please let the LangChain team know by commenting on this issue. Otherwise, feel free to close the issue yourself or it will be automatically closed in 7 days. Thank you for your contribution to the LangChain project! Let me know if you have any further questions or concerns. |
Current documentation text under Text Splitter throws error :
texts = text_splitter.create_documents([state_of_the_union])
The error is on both these pages
https://python.langchain.com/en/latest/modules/indexes/text_splitters/getting_started.html
https://python.langchain.com/en/latest/modules/indexes/text_splitters/examples/character_text_splitter.html
I think the above line should be revised to
texts = text_splitter.split_documents([state_of_the_union])
The text was updated successfully, but these errors were encountered: