Embedding and rerank models from Voyage AI — now part of MongoDB.
# pin every request to Voyage AI
curl https://www.ninjachat.ai/api/v1/chat/completions \
-H "Authorization: Bearer $NINJACHAT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "rerank-2.5",
"messages": [{ "role": "user", "content": "Hello!" }],
"routing": { "providers": { "only": ["voyage"] } }
}'