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 5 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": {},
"outputs": [],
"source": [
"from langchain.sql_database import SQLDatabase\n",
"from langchain_community.utilities.sql_database import SQLDatabase\n",
"\n",
"db = SQLDatabase.from_uri(\"sqlite:///Chinook.db\")"
]

Loading…
Cancel
Save