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

@@ -14,7 +14,9 @@ from langchain_community.utils.openai import is_openai_v1
@deprecated(
since="0.1.0", removal="0.2.0", alternative="langchain_openai.AzureOpenAIEmbeddings"
since="0.1.0",
removal="0.2.0",
alternative_import="langchain_openai.AzureOpenAIEmbeddings",
)
class AzureOpenAIEmbeddings(OpenAIEmbeddings):
"""`Azure OpenAI` Embeddings API."""