[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

community[patch]: update oai deprecation message #15681

Merged
merged 3 commits into from
Jan 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
community[patch]: update oai deprecation message
  • Loading branch information
baskaryan committed Jan 8, 2024
commit f104cef344b338759e63752822073940637f99d1
11 changes: 10 additions & 1 deletion libs/community/langchain_community/chat_models/azure_openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,16 @@


@deprecated(
since="0.1.0", removal="0.2.0", alternative="langchain_openai.AzureChatOpenAI"
since="0.1.0",
removal="0.2.0",
message=(
"The class langchain_community.chat_models.azure_openai.AzureChatOpenAI was "
"deprecated in langchain-community 0.1.0 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`."
),
)
class AzureChatOpenAI(ChatOpenAI):
"""`Azure OpenAI` Chat Completion API.
Expand Down
Loading