Spaces:
Runtime error
Runtime error
File size: 555 Bytes
ed4d993 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# langchain-voyageai
This package contains the LangChain integrations for VoyageAI through their `voyageai` client package.
## Installation and Setup
- Install the LangChain partner package
```bash
pip install langchain-voyageai
```
- Get an VoyageAI api key and set it as an environment variable (`VOYAGE_API_KEY`) or use the API key as a parameter in the Client.
## Text Embedding Model
See a [usage example](https://python.langchain.com/docs/integrations/text_embedding/voyageai)
```python
from langchain_voyageai import VoyageAIEmbeddings
```
|