multiple: update removal targets (#25361)

This commit is contained in:
ccurme
2024-08-14 09:50:39 -04:00
committed by GitHub
parent 4029f5650c
commit 27690506d0
100 changed files with 160 additions and 166 deletions

View File

@@ -71,7 +71,7 @@ def acompletion_with_retry(llm: Cohere, **kwargs: Any) -> Any:
@deprecated(
since="0.0.30", removal="0.3.0", alternative_import="langchain_cohere.BaseCohere"
since="0.0.30", removal="1.0", alternative_import="langchain_cohere.BaseCohere"
)
class BaseCohere(Serializable):
"""Base class for Cohere models."""
@@ -121,9 +121,7 @@ class BaseCohere(Serializable):
return values
@deprecated(
since="0.1.14", removal="0.3.0", alternative_import="langchain_cohere.Cohere"
)
@deprecated(since="0.1.14", removal="1.0", alternative_import="langchain_cohere.Cohere")
class Cohere(LLM, BaseCohere):
"""Cohere large language models.