Skip to main content
This file contains the VoyageEncoder class which is used to encode text using Voyage

VoyageEncoder Objects

Class to encode text using Voyage. Requires a Voyage API key from https://voyageai.com/api-keys/

__init__

Initialize the VoyageEncoder. Arguments:
  • name (str): The name of the embedding model to use such as “voyage-embed”.
  • voyage_api_key (str): The Voyage API key.