@mastra/fastembed 1.3.0-alpha.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @mastra/fastembed
|
|
2
2
|
|
|
3
|
+
## 1.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added multilingual embedding support to FastEmbed. The multilingual E5 Large model is now available as two role-specific embedding models: use `multilingualE5LargePassage` for text you index and `multilingualE5LargeQuery` for search text. Both produce 1024-dimensional vectors, so your vector index must be created with matching dimensions. ([#22276](https://github.com/mastra-ai/mastra/pull/22276))
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
import { Memory } from '@mastra/memory';
|
|
11
|
+
import { fastembed } from '@mastra/fastembed';
|
|
12
|
+
|
|
13
|
+
const memory = new Memory({
|
|
14
|
+
embedder: fastembed.multilingualE5LargePassage,
|
|
15
|
+
});
|
|
16
|
+
```
|
|
17
|
+
|
|
3
18
|
## 1.3.0-alpha.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/fastembed",
|
|
3
|
-
"version": "1.3.0
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"typescript": "^6.0.3",
|
|
50
50
|
"vitest": "4.1.10",
|
|
51
51
|
"zod": "^4.4.3",
|
|
52
|
-
"@internal/ai-sdk-v4": "0.0.
|
|
53
|
-
"@internal/ai-
|
|
54
|
-
"@internal/
|
|
55
|
-
"@internal/lint": "0.0.
|
|
56
|
-
"@internal/
|
|
52
|
+
"@internal/ai-sdk-v4": "0.0.73",
|
|
53
|
+
"@internal/ai-v6": "0.0.73",
|
|
54
|
+
"@internal/types-builder": "0.0.101",
|
|
55
|
+
"@internal/lint": "0.0.126",
|
|
56
|
+
"@internal/ai-sdk-v5": "0.0.73"
|
|
57
57
|
},
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">=22.13.0"
|