Skip to main content

VoyageAI by MongoDB integrations

All functionality related to VoyageAI by MongoDB

VoyageAI by MongoDB builds embedding models, customized for your domain and company, for better retrieval quality.

Installation and setup

Install the integration package with

pipuv

pip install langchain-voyageai

Get a VoyageAI by MongoDB API key and set it as an environment variable (VOYAGE_API_KEY)

Text embedding model

See a usage example.

from langchain_voyageai import VoyageAIEmbeddings

Reranking

See a usage example.

from langchain_voyageai import VoyageAIRerank