voyage-large-2-instruct

This documentation is valid for the following list of our models:

  • voyage-large-2-instruct

Model Overview

An instruction-tuned, general-purpose text embedding model optimized for tasks such as clustering, classification, and retrieval. It is designed to perform exceptionally well on the Massive Text Embedding Benchmark (MTEB), ranking first in several key areas.

Setup your API Key

If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.

Submit a request

API Schema

post
Authorizations
Body
modelundefined · enumRequiredPossible values:
inputany ofRequired

Input text to embed, encoded as a string or array of tokens.

string · min: 1 · max: 8000Optional
or
string[]Optional
input_typestring · enumOptional

The type of input data for the model.

Default: documentPossible values:
Responses
201Success
post
POST /v1/embeddings HTTP/1.1
Host: api.aimlapi.com
Authorization: Bearer <YOUR_AIMLAPI_KEY>
Content-Type: application/json
Accept: */*
Content-Length: 74

{
  "model": "voyage-large-2-instruct",
  "input": "text",
  "input_type": "document"
}
201Success

No content

Last updated

Was this helpful?