fix: update import paths for ChatOllama to use langchain_ollama instead of community (#31721)

This commit is contained in:
Mason Daugherty
2025-06-24 16:19:31 -04:00
committed by GitHub
parent e09abf8170
commit 3c3320ae30
4 changed files with 7 additions and 7 deletions

View File

@@ -204,14 +204,14 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "523e6ed2-2132-4748-bdb7-db765f20648d",
"metadata": {},
"outputs": [],
"source": [
"from langchain_community.chat_models import ChatOllama\n",
"from langchain_core.output_parsers import StrOutputParser\n",
"from langchain_core.prompts import ChatPromptTemplate"
"from langchain_core.prompts import ChatPromptTemplate\n",
"from langchain_ollama import ChatOllama"
]
},
{