Voyage Code 3
Voyage Code 3 is Voyage AI's code-specialized embedding model with a context window of 0 tokens, 300+ programming language support, and Matryoshka dimensionality. It outperforms OpenAI text-embedding-3-large by 13.80% on code retrieval across 32 datasets.
import { embed } from 'ai';
const result = await embed({ model: 'voyage/voyage-code-3', value: 'Sunny day at the beach',})