community: deprecate community ollama integrations (#26733)

This commit is contained in:
Erick Friis
2024-10-01 09:18:07 -07:00
committed by GitHub
parent e317d457cf
commit 95a87291fd
3 changed files with 17 additions and 0 deletions

View File

@@ -47,6 +47,11 @@ def _chat_stream_response_to_chat_generation_chunk(
)
@deprecated(
since="0.3.1",
removal="1.0.0",
alternative_import="langchain_ollama.ChatOllama",
)
class ChatOllama(BaseChatModel, _OllamaCommon):
"""Ollama locally runs large language models.