langchain/libs/partners/voyageai
Charlie Marsh fd94aa8366
partner[patch]: Upgrade to Ruff v0.4.2 (#21108)
## Summary

No new diagnostics (given that the set of enabled rules hasn't changed),
but gains access to our new parser (much faster) and reduced false
positives all around.
2024-04-30 15:06:42 -04:00
..
langchain_voyageai voyageai[patch]: top level reranker import (#19645) 2024-03-28 06:37:55 +00:00
scripts
tests voyageai[patch]: top level reranker import (#19645) 2024-03-28 06:37:55 +00:00
.gitignore
LICENSE
Makefile
poetry.lock
pyproject.toml partner[patch]: Upgrade to Ruff v0.4.2 (#21108) 2024-04-30 15:06:42 -04:00
README.md

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