Gemini Embedding 001
Gemini Embedding 001 is Google's generally available text embedding model, with a strong position on the Massive Text Embedding Benchmark (MTEB) Multilingual leaderboard across retrieval, classification, and other tasks, with Matryoshka-based dimension flexibility and support for over 100 languages.
import { embed } from 'ai';
const result = await embed({ model: 'google/gemini-embedding-001', value: 'Sunny day at the beach',})