mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
7ce81eb6f4
Co-authored-by: fodizoltan <zoltan@conway.expert> Co-authored-by: Yujie Qian <thomasq0809@gmail.com> Co-authored-by: fzowl <160063452+fzowl@users.noreply.github.com>
22 lines
555 B
Markdown
22 lines
555 B
Markdown
# 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
|
|
```
|