chore!: delete deprecated chat models #403
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The following modules, which have been marked for removal, have been deleted. Consequently, any attempt to import these from
langchain-classic(which re-exports fromlangchain-community) will break.ChatAnthropic(change import tolangchain_anthropic.ChatAnthropic)AzureChatOpenAI(change import tolangchain_openai.AzureChatOpenAI)BedrockChat(change import tolangchain_aws.ChatBedrock)ChatCohere(change import tolangchain_cohere.ChatCohere)ChatDatabricks(change import todatabricks_langchain.ChatDatabricks)ChatFireworks(change import tolangchain_fireworks.ChatFireworks)GigaChat(change import tolangchain_gigachat.GigaChat)ChatHuggingFace(change import tolangchain_huggingface.ChatHuggingFace)ChatLiteLLM(change import tolangchain_litellm.ChatLiteLLM)ChatLiteLLMRouter(change import tolangchain_litellm.ChatLiteLLMRouter)ChatOllama(change import tolangchain_ollama.ChatOllama)ChatOpenAI* (change import tolangchain_openai.ChatOpenAI)ChatPerplexity(change import tolangchain_perplexity.ChatPerplexity)ChatSambaNovaCloud(change import tolangchain_sambanova.ChatSambaNovaCloud)ChatSambaStudio(change import tolangchain_sambanova.ChatSambaStudio)SolarChat(change import tolangchain_upstage.ChatUpstage)ChatVertexAI(change import tolangchain_google_vertexai.ChatVertexAI)*
ChatOpenAIis kept in this package for now, as many other community chat models inherit from it. It has been removed from__all__and should not be used. It will be removed at a later date once the other packages can be reconciled.For any classes that previously imported private methods or utilities from the files containing these classes, those functions have been duplicated into the importing files.