VoyageEncoder Objects
__init__
name(str): The name of the embedding model to use such as “voyage-3-lite”.api_key(str): The Voyage API key, can also be set via the VOYAGE_API_KEY environment variable.score_threshold(float): The score threshold for the embeddings.
ValueError: If no API key is provided or found in the environment.
__call__
docs(list[Any]): List of text documents to encode.
list[list[float]]: List of embeddings for each document.
acall
docs(list[Any]): List of text documents to encode.
list[list[float]]: List of embeddings for each document.
