mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-20 03:21:33 +00:00
multiple: push deprecation removals to 1.0 (#28236)
This commit is contained in:
parent
4f76246cf2
commit
d1108607f4
@ -112,7 +112,7 @@ from langchain_core._api.deprecation import deprecated
|
||||
|
||||
@deprecated(
|
||||
since="0.0.<next community version>",
|
||||
removal="0.2.0",
|
||||
removal="1.0.0",
|
||||
alternative_import="langchain_parrot_link.ChatParrotLink"
|
||||
)
|
||||
class ChatParrotLink(BaseChatModel):
|
||||
|
@ -45,7 +45,7 @@ def is_endpoint_live(url: str, headers: Optional[dict], payload: Any) -> bool:
|
||||
|
||||
@deprecated(
|
||||
since="0.0.37",
|
||||
removal="0.2.0",
|
||||
removal="1.0.0",
|
||||
message=(
|
||||
"Directly instantiating a NeMoEmbeddings from langchain-community is "
|
||||
"deprecated. Please use langchain-nvidia-ai-endpoints NVIDIAEmbeddings "
|
||||
|
@ -1329,7 +1329,7 @@ def _make_message_chunk_from_anthropic_event(
|
||||
return message_chunk
|
||||
|
||||
|
||||
@deprecated(since="0.1.0", removal="0.3.0", alternative="ChatAnthropic")
|
||||
@deprecated(since="0.1.0", removal="1.0.0", alternative="ChatAnthropic")
|
||||
class ChatAnthropicMessages(ChatAnthropic):
|
||||
pass
|
||||
|
||||
|
@ -146,7 +146,7 @@ def _xml_to_tool_calls(elem: Any, tools: List[Dict]) -> List[Dict[str, Any]]:
|
||||
|
||||
@deprecated(
|
||||
"0.1.5",
|
||||
removal="0.3.0",
|
||||
removal="1.0.0",
|
||||
alternative="ChatAnthropic",
|
||||
message=(
|
||||
"Tool-calling is now officially supported by the Anthropic API so this "
|
||||
|
@ -381,7 +381,7 @@ class AnthropicLLM(LLM, _AnthropicCommon):
|
||||
)
|
||||
|
||||
|
||||
@deprecated(since="0.1.0", removal="0.3.0", alternative="AnthropicLLM")
|
||||
@deprecated(since="0.1.0", removal="1.0.0", alternative="AnthropicLLM")
|
||||
class Anthropic(AnthropicLLM):
|
||||
"""Anthropic large language model."""
|
||||
|
||||
|
@ -627,7 +627,7 @@ class ChatFireworks(BaseChatModel):
|
||||
@deprecated(
|
||||
since="0.2.1",
|
||||
alternative="langchain_fireworks.chat_models.ChatFireworks.bind_tools",
|
||||
removal="0.3.0",
|
||||
removal="1.0.0",
|
||||
)
|
||||
def bind_functions(
|
||||
self,
|
||||
|
@ -654,7 +654,7 @@ class ChatGroq(BaseChatModel):
|
||||
@deprecated(
|
||||
since="0.2.1",
|
||||
alternative="langchain_groq.chat_models.ChatGroq.bind_tools",
|
||||
removal="0.3.0",
|
||||
removal="1.0.0",
|
||||
)
|
||||
def bind_functions(
|
||||
self,
|
||||
|
@ -1001,7 +1001,7 @@ class BaseChatOpenAI(BaseChatModel):
|
||||
@deprecated(
|
||||
since="0.2.1",
|
||||
alternative="langchain_openai.chat_models.base.ChatOpenAI.bind_tools",
|
||||
removal="0.3.0",
|
||||
removal="1.0.0",
|
||||
)
|
||||
def bind_functions(
|
||||
self,
|
||||
|
@ -640,7 +640,7 @@ class PineconeVectorStore(VectorStore):
|
||||
return None
|
||||
|
||||
|
||||
@deprecated(since="0.0.3", removal="0.3.0", alternative="PineconeVectorStore")
|
||||
@deprecated(since="0.0.3", removal="1.0.0", alternative="PineconeVectorStore")
|
||||
class Pinecone(PineconeVectorStore):
|
||||
"""Deprecated. Use PineconeVectorStore instead."""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user