mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-04 19:35:08 +00:00
* Removed `ruff check --select I` as `I` is already selected and checked in the main `ruff check` command * Added checks for non-empty `PYTHON_FILES` * Run `ruff check` only on `PYTHON_FILES` Co-authored-by: Erick Friis <erick@langchain.dev>
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