Skip to content
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

Update wiki about local LLM to use updated langchain-community.llms #179

Closed
PiotrEsse opened this issue Jan 24, 2024 · 1 comment
Closed
Labels
documentation Improvements or additions to documentation improvement

Comments

@PiotrEsse
Copy link

Small update, just not to forget. As for incoming changes with langchain it would be nice to update doc and code to reflect changes.
Change where -

  • Old code: from langchain.llms import Ollama
  • New code: from langchain_community.llms import Ollama

error message:

LangChainDeprecationWarning: Importing LLMs 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.llms import Ollama`.

To install langchain-community run `pip install -U langchain-community`.
  warnings.warn(
@reaperkrew
Copy link

Hi @PiotrEsse I have created #180 to address this issue

@Biancamazzi Biancamazzi added documentation Improvements or additions to documentation improvement labels Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation improvement
Projects
None yet
Development

No branches or pull requests

3 participants