(all): update removal in deprecation warnings from 0.2 to 0.3 (#21265)

We are pushing out the removal of these to 0.3.

`find . -type f -name "*.py" -exec sed -i ''
's/removal="0\.2/removal="0.3/g' {} +`
This commit is contained in:
ccurme
2024-05-03 14:29:36 -04:00
committed by GitHub
parent d6e34f9ee5
commit 6da3d92b42
81 changed files with 127 additions and 127 deletions

View File

@@ -16,7 +16,7 @@ from langchain_community.utils.openai import is_openai_v1
@deprecated(
since="0.0.9",
removal="0.2.0",
removal="0.3.0",
alternative_import="langchain_openai.AzureOpenAIEmbeddings",
)
class AzureOpenAIEmbeddings(OpenAIEmbeddings):

View File

@@ -10,7 +10,7 @@ from langchain_community.llms.cohere import _create_retry_decorator
@deprecated(
since="0.0.30",
removal="0.2.0",
removal="0.3.0",
alternative_import="langchain_cohere.CohereEmbeddings",
)
class CohereEmbeddings(BaseModel, Embeddings):

View File

@@ -140,7 +140,7 @@ async def async_embed_with_retry(embeddings: OpenAIEmbeddings, **kwargs: Any) ->
@deprecated(
since="0.0.9",
removal="0.2.0",
removal="0.3.0",
alternative_import="langchain_openai.OpenAIEmbeddings",
)
class OpenAIEmbeddings(BaseModel, Embeddings):

View File

@@ -46,7 +46,7 @@ def embed_with_retry(embeddings: SolarEmbeddings, *args: Any, **kwargs: Any) ->
@deprecated(
since="0.0.34", removal="0.2.0", alternative_import="langchain_upstage.ChatUpstage"
since="0.0.34", removal="0.3.0", alternative_import="langchain_upstage.ChatUpstage"
)
class SolarEmbeddings(BaseModel, Embeddings):
"""Solar's embedding service.

View File

@@ -22,7 +22,7 @@ _MIN_BATCH_SIZE = 5
@deprecated(
since="0.0.12",
removal="0.2.0",
removal="0.3.0",
alternative_import="langchain_google_vertexai.VertexAIEmbeddings",
)
class VertexAIEmbeddings(_VertexAICommon, Embeddings):

View File

@@ -61,7 +61,7 @@ def embed_with_retry(embeddings: VoyageEmbeddings, **kwargs: Any) -> Any:
@deprecated(
since="0.0.29",
removal="0.2",
removal="0.3",
alternative_import="langchain_voyageai.VoyageAIEmbeddings",
)
class VoyageEmbeddings(BaseModel, Embeddings):