0.10.0 • Published 5 months ago
@mastra/fastembed v0.10.0
@mastra/fastembed
This package provides a FastEmbed embedding model integration for use with Mastra Memory.
Note: This functionality was previously included directly within @mastra/core. It has been moved to this separate package because fastembed-js relies on large native dependencies (like onnxruntime-node). Separating it keeps @mastra/core lightweight for users who may not need FastEmbed.
Installation
pnpm add @mastra/fastembedUsage
import { Memory } from '@mastra/memory';
import { fastembed } from '@mastra/fastembed';
const memory = new Memory({
// ... other memory options
embedder: fastembed,
});
// Now you can use this memory instance with an Agent
// const agent = new Agent({ memory, ... });This package wraps the fastembed-js library to provide an embedding model compatible with the AI SDK and Mastra.
0.10.0
5 months ago
0.0.3
5 months ago
0.0.0-cloud-transporter-20250513033346
5 months ago
0.0.0-generate-message-id-20250512171942
6 months ago
0.0.3-alpha.0
6 months ago
0.0.2
6 months ago
0.0.2-alpha.0
6 months ago