pprados / langchain-googledrive

An external version of a pull request for langchain.
Apache License 2.0
26 stars 10 forks source link

Import from langchain-community instead of langchain #8

Closed mbastian closed 9 months ago

mbastian commented 9 months ago

Hello, since langchain's 0.1 version there is a deprecation warning that requires some action:

LangChainDeprecationWarning: Importing document loaders from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:

  `from langchain_community.document_loaders import CSVLoader`.

  To install langchain-community run `pip install -U langchain-community`.

Basically, all document loaders should be imported from the new langchain-community dependency.

pprados commented 9 months ago

Hello, The version 0.1.14 is now, compatible with langchain 0.1