Skip to content

Commit

Permalink
Import ChatOpenAI and AzureChatOpenAI from the updated langchain loca…
Browse files Browse the repository at this point in the history
…tion:
  • Loading branch information
startakovsky committed Feb 25, 2024
1 parent 642ac53 commit 475193f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/jupyter-ai-magics/jupyter_ai_magics/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@
from langchain.schema import LLMResult
from langchain.utils import get_from_dict_or_env
from langchain_community.chat_models import (
AzureChatOpenAI,
BedrockChat,
ChatAnthropic,
ChatOpenAI,
QianfanChatEndpoint,
)
from langchain_openai.chat_models import (
AzureChatOpenAI,
ChatOpenAI,
)
from langchain_community.llms import (
AI21,
Anthropic,
Expand Down

0 comments on commit 475193f

Please sign in to comment.