voyage-finance-2
Last updated
Was this helpful?
Last updated
Was this helpful?
A finance domain-specific embedding model that delivers superior retrieval quality, outperforming competing models on financial datasets—achieving an average 7% gain over OpenAI (the next best model) and 12% over Cohere. It supports a 32K context length, significantly larger than other evaluated alternatives.
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
Input text to embed, encoded as a string or array of tokens.
The type of input data for the model.
document
Possible values: POST /v1/embeddings HTTP/1.1
Host: api.aimlapi.com
Authorization: Bearer <YOUR_AIMLAPI_KEY>
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"model": "voyage-finance-2",
"input": "text",
"input_type": "document"
}
No content