docs: Change module import path for SQLDatabase in the documentation (#17874)

**Description:** This PR changes the module import path for SQLDatabase
in the documentation
**Issue:** Updates the documentation to reflect the move of integrations
to langchain-community
This commit is contained in:
aditya thomas 2024-02-22 05:27:30 +05:30 committed by GitHub
parent f8a3b8e83f
commit d9aa11d589
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,7 +58,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"from langchain.sql_database import SQLDatabase\n", "from langchain_community.utilities.sql_database import SQLDatabase\n",
"\n", "\n",
"db = SQLDatabase.from_uri(\"sqlite:///Chinook.db\")" "db = SQLDatabase.from_uri(\"sqlite:///Chinook.db\")"
] ]