Agent may make mistakes. Verify all outputs.
Google’s first fully multimodal Embedding model that is capable of mapping text, image, video, audio, and PDFs and their interleaved combinations thereof into a single, unified vector space. Built on the Gemini architecture, it supports 100+ languages.
import { embed } from 'ai';
const result = await embed({ model: 'google/gemini-embedding-2', value: 'Sunny day at the beach',})Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|
| Model |
|---|