mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-31 18:38:48 +00:00
These are set in Github workflows, but forgot to add them to most makefiles for convenience when developing locally. `uv run` will automatically sync the lock file. Because many of our development dependencies are local installs, it will pick up version changes and update the lock file. Passing `--frozen` or setting this environment variable disables the behavior.
langchain-voyageai
This package contains the LangChain integrations for VoyageAI through their voyageai
client package.
Installation and Setup
- Install the LangChain partner package
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
from langchain_voyageai import VoyageAIEmbeddings