You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/docs
Gengliang Wang bf5a3c6dec
Support Databricks in SQLDatabase (#4702)
This PR adds support for Databricks runtime and Databricks SQL by using
[Databricks SQL Connector for
Python](https://docs.databricks.com/dev-tools/python-sql-connector.html).
As a cloud data platform, accessing Databricks requires a URL as follows

`databricks://token:{api_token}@{hostname}?http_path={http_path}&catalog={catalog}&schema={schema}`.

**The URL is **complicated** and it may take users a while to figure it
out**. Since the fields `api_token`/`hostname`/`http_path` fields are
known in the Databricks notebook, I am proposing a new method
`from_databricks` to simplify the connection to Databricks.

## In Databricks Notebook
After changes, Databricks users only need to specify the `catalog` and
`schema` field when using langchain.
<img width="881" alt="image"
src="https://github.com/hwchase17/langchain/assets/1097932/984b4c57-4c2d-489d-b060-5f4918ef2f37">

## In Jupyter Notebook
The method can be used on the local setup as well:
<img width="678" alt="image"
src="https://github.com/hwchase17/langchain/assets/1097932/142e8805-a6ef-4919-b28e-9796ca31ef19">
1 year ago
..
_static docs: Mendable Fixes and Improvements (#4184) 1 year ago
additional_resources Update gallery (#4873) 1 year ago
getting_started Update getting_started.md (#4482) 1 year ago
integrations docs: compound ecosystem and integrations (#4870) 1 year ago
modules Support Databricks in SQLDatabase (#4702) 1 year ago
reference docs: compound ecosystem and integrations (#4870) 1 year ago
tracing Some notebook and client fixes (add retries, clean up docs, etc) (#4820) 1 year ago
use_cases Typos (#4851) 1 year ago
Makefile Feature: linkcheck-action (#534) (#542) 2 years ago
conf.py docs: Mendable Search integration (#2803) 2 years ago
dependents.md docs: added `ecosystem/dependents` page (#4941) 1 year ago
index.rst docs: added `ecosystem/dependents` page (#4941) 1 year ago
integrations.rst docs: compound ecosystem and integrations (#4870) 1 year ago
make.bat initial commit 2 years ago
reference.rst Move Generative Agent definition to Experimental (#3245) 1 year ago
requirements.txt Harrison/docs reqs (#2199) 2 years ago