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
pull/17897/head
aditya thomas 8 months ago committed by GitHub
parent f8a3b8e83f
commit d9aa11d589
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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\")"
] ]

Loading…
Cancel
Save