Agent may make mistakes and shouldn't be used in production
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',})| Provider |
|---|
| Model |
|---|