generated from langchain-ai/integration-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 269
chore: delete deprecated content #404
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
Draft
mdrxy
wants to merge
35
commits into
main
Choose a base branch
from
mdrxy/scratch
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following modules, which have been marked for removal, have been deleted. Consequently, any attempt to import these from `langchain-classic` (which re-exports from `langchain-community`) will break. - `ChatAnthropic` (change import to `langchain_anthropic.ChatAnthropic`) - `AzureChatOpenAI` (change import to `langchain_openai.AzureChatOpenAI`) - `BedrockChat` (change import to `langchain_aws.ChatBedrock`) - `ChatCohere` (change import to `langchain_cohere.ChatCohere`) - `ChatDatabricks` (change import to `databricks_langchain.ChatDatabricks`) - `ChatFireworks` (change import to `langchain_fireworks.ChatFireworks`) - `GigaChat` (change import to `langchain_gigachat.GigaChat`) - `ChatHuggingFace` (change import to `langchain_huggingface.ChatHuggingFace`) - `ChatLiteLLM` (change import to `langchain_litellm.ChatLiteLLM`) - `ChatLiteLLMRouter` (change import to `langchain_litellm.ChatLiteLLMRouter`) - `ChatOllama` (change import to `langchain_ollama.ChatOllama`) - `ChatOpenAI`* (change import to `langchain_openai.ChatOpenAI`) - `ChatPerplexity` (change import to `langchain_perplexity.ChatPerplexity`) - `ChatSambaNovaCloud` (change import to `langchain_sambanova.ChatSambaNovaCloud`) - `ChatSambaStudio` (change import to `langchain_sambanova.ChatSambaStudio`) - `SolarChat` (change import to `langchain_upstage.ChatUpstage`) - `ChatVertexAI` (change import to `langchain_google_vertexai.ChatVertexAI`) *`ChatOpenAI` is 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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.Chat models
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)ChatCloudflareWorkersAI(change import tolangchain_cloudflare.ChatCloudflareWorkersAI)*
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.Chains
NeptuneSparqlQAChain(change import tolangchain_aws.create_neptune_sparql_qa_chain)NeptuneOpenCypherQAChain(change import tolangchain_aws.create_neptune_opencypher_qa_chain)Sessionproperty onSQLChatMessageHistory(usesession_makerinstead)connection_stringparam onSQLChatMessageHistory(useconnectioninstead)Chat histories
AstraDBChatMessageHistory(change import tolangchain_astradb.AstraDBChatMessageHistory)MongoDBChatMessageHistory(change import tolangchain_mongodb.MongoDBChatMessageHistory)Neo4jChatMessageHistory(change import tolangchain_neo4j.Neo4jChatMessageHistory)Chains
Caches
AstraDBCache(change import tolangchain_astradb.AstraDBCache)AstraDBSemanticCache(change import tolangchain_astradb.AstraDBSemanticCache)Retrievers
QdrantSparseVectorRetriever(change import tolangchain_qdrant.QdrantVectorStore#as_retriever())Vector stores
Weaviate(change import tolangchain_weaviate.WeaviateVectorStore)VDMS(change import tolangchain_vdms.VDMS)Qdrant(change import tolangchain_qdrant.Qdrant)Pinecone(change import tolangchain_pinecone.Pinecone)OracleVS(change import tolangchain_oracledb.vectorstores.OracleVS)Neo4jVector(change import tolangchain_neo4j.Neo4jVector)MongoDBAtlasVectorSearch(change import tolangchain_mongodb.MongoDBAtlasVectorSearch)Milvus(change import tolangchain_milvus.MilvusVectorStore)*MatchingEngine(change import tolangchain_google_vertexai.VectorSearchVectorStore)DeepLake(change import tolangchain_deeplake.DeeplakeVectorStore)DatabricksVectorSearch(change import todatabricks_langchain.DatabricksVectorSearch)*
Milvuskept in code forZillizusageTools
GooglePlacesTool(change import tolangchain_google_community.GooglePlacesTool)GoogleSearchResults(change import tolangchain_google_community.GoogleSearchResults)GoogleSearchRun(change import tolangchain_google_community.GoogleSearchRun)Utilities
GooglePlacesAPIWrapper(change import tolangchain_google_community.GooglePlacesAPIWrapper)GoogleSearchAPIWrapper(change import tolangchain_google_community.GoogleSearchAPIWrapper)*OracleSummary(change import tolangchain_oracledb.utilities.OracleSummary)*
GoogleSearchAPIWrapperkept in code forWebResearchRetrieverusageOther
GMailLoader(change import tolangchain_google_community.GMailLoader)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.