Skip to content

Mistral Embed

Mistral Embed is Mistral AI's general-purpose text embedding model with 1024 dimensions, designed for semantic search and retrieval tasks with a 55.26 score on the MTEB benchmark.

index.ts
import { embed } from 'ai';
const result = await embed({
model: 'mistral/mistral-embed',
value: 'Sunny day at the beach',
})