Agent may make mistakes and shouldn't be used in production
OpenAI's legacy text embedding model.
import { embed } from 'ai';
const result = await embed({ model: 'openai/text-embedding-ada-002', value: 'Sunny day at the beach',})| Provider |
|---|
| Model |
|---|