Skip to content

Commit

Permalink
Replace deprecated reference to langchain.llms with langchain_communi…
Browse files Browse the repository at this point in the history
…ty.llms

PiperOrigin-RevId: 675468248
Change-Id: I7fc7ad2a559733c715659768f098789ff78828ce
  • Loading branch information
jzleibo authored and copybara-github committed Sep 17, 2024
1 parent 57ba3af commit 400f8fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion concordia/language_model/langchain_ollama_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from concordia.language_model import language_model
from concordia.utils import measurements as measurements_lib
from concordia.utils import sampling
from langchain.llms import ollama
from langchain_community.llms import ollama

from typing_extensions import override

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def _remove_excluded(description: str) -> str:
'google-cloud-aiplatform',
'google-generativeai',
'ipython',
'langchain',
'langchain-community',
'matplotlib',
'mistralai',
'numpy',
Expand Down

0 comments on commit 400f8fc

Please sign in to comment.