Agent may make mistakes and shouldn't be used in production
English-focused text embedding model optimized for code and English language tasks.
import { embed } from 'ai';
const result = await embed({ model: 'google/text-embedding-005', value: 'Sunny day at the beach',})| Provider |
|---|
| Model |
|---|