Skip to main content
Endpoint
Response

Parameters

Embedding models

For legal documents, use voyage/voyage-law-2. It’s specifically trained on legal text.

Batch embeddings

Embed multiple texts in one request:

Use cases

Document similarity

Tip: Use the same model for indexing and querying. Mixing models produces poor results.