Menu

Voyage Rerank 3 and Rerank 3 Lite are now available on AI Gateway - Vercel
📰

Voyage Rerank 3 and Rerank 3 Lite are now available on AI Gateway - Vercel

Vercel News·Zachary Chen·5 days ago
#XrEp8xfn
#vercel#rerank#model#voyage#documents
Reading 0:00
15s threshold

Rerank 3 and Rerank 3 Lite from Voyage AI by MongoDB are now available on AI Gateway.

The models reorder search results by relevance before passing documents to a language model. The series improves retrieval quality across domains, with the largest gains on long documents and code.

Rerank 3 focuses on accuracy, while Rerank 3 Lite is optimized for latency and cost. Both handle up to 32K tokens per query-document pair and follow instructions in the query to guide ranking.

To use Rerank 3, set the model to voyage/rerank-3 :

import { rerank } from 'ai' ;

const { ranking } = await rerank ( {

model : 'voyage/rerank-3' ,

query : 'How does a vector database find similar documents?' ,

documents : [

'A load balancer distributes traffic across servers.' ,

'A vector database searches embeddings to find similar documents.' ,

] ,

topN : 1 ,

} ) ;

For Rerank 3 Lite, change the model to voyage/rerank-3-lite .

Try Voyage Rerank 3 in the AI Gateway model playground , or explore the model catalog .

AI Gateway…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.