mirror of
https://github.com/hwchase17/langchain
synced 2024-11-11 19:11:02 +00:00
24 lines
468 B
Markdown
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.")
|
||
|
```
|