Voyage AI
https://docs.voyageai.com/embeddings/
API Key​
# env variable
os.environ['VOYAGE_API_KEY']
Sample Usage - Embedding​
from litellm import embedding
import os
os.environ['VOYAGE_API_KEY'] = ""
response = embedding(
model="voyage/voyage-01",
input=["good morning from litellm"],
)
print(response)
Supported Models​
All models listed here https://docs.voyageai.com/embeddings/#models-and-specifics are supported
Model Name | Function Call |
---|---|
voyage-01 | embedding(model="voyage/voyage-01", input) |
voyage-lite-01 | embedding(model="voyage/voyage-lite-01", input) |
voyage-lite-01-instruct | embedding(model="voyage/voyage-lite-01-instruct", input) |