Text Embedding 005
Text Embedding 005 is an English-language text embedding model with a 66.31% average Massive Text Embedding Benchmark (MTEB) score at 768 dimensions, supporting dynamic embedding sizes down to 256 dimensions to reduce storage and compute costs with minor performance tradeoffs. Your use subject to Google's Terms & Privacy Policies.
index.ts
import { embed } from 'ai';
const result = await embed({ model: 'google/text-embedding-005', value: 'Sunny day at the beach',})More models by Google
| Model |
|---|