mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-09 15:03:21 +00:00
community[patch]: more deprecations (#15782)
This commit is contained in:
@@ -20,14 +20,7 @@ logger = logging.getLogger(__name__)
|
||||
@deprecated(
|
||||
since="0.0.10",
|
||||
removal="0.2.0",
|
||||
message=(
|
||||
"The class langchain_community.chat_models.azure_openai.AzureChatOpenAI was "
|
||||
"deprecated in langchain-community 0.0.10 and will be removed in "
|
||||
"langchain-community 0.2.0. An updated version of the class lives in the "
|
||||
"langchain-openai package and should be used instead. To use it run "
|
||||
"`pip install -U langchain-openai` and import as "
|
||||
"`from langchain_openai import AzureChatOpenAI`."
|
||||
),
|
||||
alternative_import="langchain_openai.AzureChatOpenAI",
|
||||
)
|
||||
class AzureChatOpenAI(ChatOpenAI):
|
||||
"""`Azure OpenAI` Chat Completion API.
|
||||
|
Reference in New Issue
Block a user