From f2e75f9500e7100b08dbaab1ae78e9214dfb523d Mon Sep 17 00:00:00 2001 From: Stefano Lottini Date: Mon, 20 May 2024 18:25:10 +0200 Subject: [PATCH] cli[minor]: fix import path for two Astra DB classes in the migration json data (#21926) This PR fixes two mistakes in the import paths from community for the json data aiding the cli migration to 0.2. It is intended as a quick follow-up to https://github.com/langchain-ai/langchain/pull/21913 . @nicoloboschi FYI --- .../namespaces/migrate/codemods/migrations/astradb.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/cli/langchain_cli/namespaces/migrate/codemods/migrations/astradb.json b/libs/cli/langchain_cli/namespaces/migrate/codemods/migrations/astradb.json index 5a3f9c9849a1d..eeb3bc196d39a 100644 --- a/libs/cli/langchain_cli/namespaces/migrate/codemods/migrations/astradb.json +++ b/libs/cli/langchain_cli/namespaces/migrate/codemods/migrations/astradb.json @@ -12,11 +12,11 @@ "langchain_astradb.AstraDBStore" ], [ - "langchain_community.cache.astradb.AstraDBCache", + "langchain_community.cache.AstraDBCache", "langchain_astradb.AstraDBCache" ], [ - "langchain_community.cache.astradb.AstraDBSemanticCache", + "langchain_community.cache.AstraDBSemanticCache", "langchain_astradb.AstraDBSemanticCache" ], [ @@ -27,4 +27,4 @@ "langchain_community.document_loaders.astradb.AstraDBLoader", "langchain_astradb.AstraDBLoader" ] -] \ No newline at end of file +]