File size: 923 Bytes
ed4d993
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# __package_name__

This package contains the LangChain integration with __ModuleName__

## Installation

```bash
pip install -U __package_name__
```

And you should configure credentials by setting the following environment variables:

* TODO: fill this out

## Chat Models

`Chat__ModuleName__` class exposes chat models from __ModuleName__.

```python
from __module_name__ import Chat__ModuleName__

llm = Chat__ModuleName__()
llm.invoke("Sing a ballad of LangChain.")
```

## Embeddings

`__ModuleName__Embeddings` class exposes embeddings from __ModuleName__.

```python
from __module_name__ import __ModuleName__Embeddings

embeddings = __ModuleName__Embeddings()
embeddings.embed_query("What is the meaning of life?")
```

## LLMs
`__ModuleName__LLM` class exposes LLMs from __ModuleName__.

```python
from __module_name__ import __ModuleName__LLM

llm = __ModuleName__LLM()
llm.invoke("The meaning of life is")
```