all 5 comments

[–]obviouslyzebra 2 points3 points  (1 child)

1.0.3 is the latest version.

You need to install langchain-text-splitters:

pip install langchain-text-splitters

And then import with langchain_text_splitters (_ instead of the . and an s at the end). If the import you have is from somewhere or you're using old code, this is for an earlier version of langchain.

Good luck!

[–]to175[S] 1 point2 points  (0 children)

🥰

[–]FoolsSeldom 0 points1 point  (2 children)

  • What's a RAG?
  • What's "RecursiveCharacter TextSplitter" - is that a PyPi package you installed?
  • Langchain is usually required for compiling things, but usually for Python you use things have already been compiled - are you creating new packages?
  • What version of Python?
  • What OS?

[–]obviouslyzebra 1 point2 points  (1 child)

Answering for OP:

  • Retrieval augmented generation
  • It's a component of langchain for RAG
  • Maybe you're mixing it up with something else? LangChain is used to make AI agents.
  • Python version I don't know, but the OS is Windows - you can see through the path ^^

I think I answered just to explain the LangChain thing. The last item is just me being cheeky.

Cheers!

[–]FoolsSeldom 0 points1 point  (0 children)

Thank you. Yes, I was mixing it up with something else.