community[patch]: more deprecations (#15782)

This commit is contained in:
Erick Friis
2024-01-09 20:36:16 -08:00
committed by GitHub
parent 33dccf0f66
commit 85a4594ed7
11 changed files with 36 additions and 52 deletions

View File

@@ -141,7 +141,7 @@ async def async_embed_with_retry(embeddings: OpenAIEmbeddings, **kwargs: Any) ->
@deprecated(
since="0.1.0",
removal="0.2.0",
alternative="langchain_openai.OpenAIEmbeddings",
alternative_import="langchain_openai.OpenAIEmbeddings",
)
class OpenAIEmbeddings(BaseModel, Embeddings):
"""OpenAI embedding models.