I could not find ‘RecursiveCharacterTextSplitter’ in the langchain pakage >1.0.0a10
what is the alternative?
It looks like the package structure has changed. Previously, I used to import it with from langchain.text_splitter import RecursiveCharacterTextSplitter, but now it’s available in the langchain_text_splitters module.
It looks like the package structure has changed. Previously, I used to import it with
from langchain.text_splitter import RecursiveCharacterTextSplitter, but now it’s available in thelangchain_text_splittersmodule.
In langchain 1.1.0 this does not work either ![]()
The solution was to use
still there

btw @Najiya could you mark this topic as completed/closed?
So that we consider this version-snapshot-related solution done and no other comment should be possible.
It is applied automatically to new posts (12h to complete/close after solving), but it is not retroactive.
I’ve marked the answer as the solution, but I’m not sure how to mark it as completed or closed. How do I do that?
Thanks @Najiya
Actually I have no idea, I have no permission to close topics. Maybe it only refers to new posts.


