langchain/libs/partners/databricks/README.md
Yuki Watanabe 3981d736df
databricks: Add partner package directory and ChatDatabricks implementation (#25430)
### Summary

Create `langchain-databricks` as a new partner packages. This PR does
not migrate all existing Databricks integration, but the package will
eventually contain:

* `ChatDatabricks` (implemented in this PR)
* `DatabricksVectorSearch`
* `DatabricksEmbeddings`
* ~`UCFunctionToolkit`~ (will be done after UC SDK work which
drastically simplify implementation)

Also, this PR does not add integration tests yet. This will be added
once the Databricks test workspace is ready.

Tagging @efriis as POC


### Tracker
[✍️] Create a package and imgrate ChatDatabricks
[ ] Migrate DatabricksVectorSearch, DatabricksEmbeddings, and their docs
~[ ] Migrate UCFunctionToolkit and its doc~
[ ] Add provider document and update README.md
[ ] Add integration tests and set up secrets (after moved to an external
package)
[ ] Add deprecation note to the community implementations.

---------

Signed-off-by: B-Step62 <yuki.watanabe@databricks.com>
Co-authored-by: Erick Friis <erick@langchain.dev>
2024-08-21 17:19:28 -07:00

24 lines
468 B
Markdown

# langchain-databricks
This package contains the LangChain integration with Databricks
## Installation
```bash
pip install -U langchain-databricks
```
And you should configure credentials by setting the following environment variables:
* TODO: fill this out
## Chat Models
`ChatDatabricks` class exposes chat models from Databricks.
```python
from langchain_databricks import ChatDatabricks
llm = ChatDatabricks()
llm.invoke("Sing a ballad of LangChain.")
```