Agent may make mistakes and shouldn't be used in production
State-of-the-art embedding model with excellent performance across English, multilingual and code tasks.
import { embed } from 'ai';
const result = await embed({ model: 'google/gemini-embedding-001', value: 'Sunny day at the beach',})| Provider |
|---|
| Model |
|---|