@mastra/rag 0.0.2-alpha.68 → 0.0.2-alpha.70

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +26 -0
  3. package/package.json +18 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @mastra/rag
2
2
 
3
+ ## 0.0.2-alpha.70
4
+
5
+ ### Patch Changes
6
+
7
+ - 327ece7: Updates for ts versions
8
+ - Updated dependencies [327ece7]
9
+ - @mastra/core@0.1.27-alpha.80
10
+
11
+ ## 0.0.2-alpha.69
12
+
13
+ ### Patch Changes
14
+
15
+ - 21fe536: add keyword tags for packages and update readmes
16
+ - Updated dependencies [21fe536]
17
+ - @mastra/core@0.1.27-alpha.79
18
+
3
19
  ## 0.0.2-alpha.68
4
20
 
5
21
  ### Patch Changes
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # @mastra/rag
2
+
3
+ The Retrieval-Augmented Generation (RAG) module contains document processing and embedding utilities.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @mastra/rag
9
+ ```
10
+
11
+ ## Components
12
+
13
+ ### Document
14
+
15
+ The `MDocument` class represents text content with associated metadata:
16
+
17
+ ```typescript
18
+ import { MDocument } from '@mastra/rag';
19
+
20
+ const doc = new MDocument({
21
+ text: 'Document content',
22
+ metadata: { source: 'example.txt' },
23
+ });
24
+ ```
25
+
26
+ [Documentation](https://mastra.ai/docs/reference/rag/document)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/rag",
3
- "version": "0.0.2-alpha.68",
3
+ "version": "0.0.2-alpha.70",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -19,7 +19,6 @@
19
19
  },
20
20
  "./package.json": "./package.json"
21
21
  },
22
- "keywords": [],
23
22
  "author": "",
24
23
  "license": "ISC",
25
24
  "dependencies": {
@@ -30,7 +29,7 @@
30
29
  "jsdom": "^25.0.1",
31
30
  "llamaindex": "^0.8.15",
32
31
  "zod": "^3.24.1",
33
- "@mastra/core": "0.1.27-alpha.78"
32
+ "@mastra/core": "0.1.27-alpha.80"
34
33
  },
35
34
  "devDependencies": {
36
35
  "@babel/preset-env": "^7.26.0",
@@ -41,6 +40,22 @@
41
40
  "dts-cli": "^2.0.5",
42
41
  "vitest": "^3.0.4"
43
42
  },
43
+ "keywords": [
44
+ "rag",
45
+ "retrieval-augmented-generation",
46
+ "vector-search",
47
+ "vectorstore",
48
+ "embeddings",
49
+ "embedding",
50
+ "document-processing",
51
+ "semantic-search",
52
+ "text-splitting",
53
+ "chunking",
54
+ "ai",
55
+ "llm",
56
+ "llms",
57
+ "typescript"
58
+ ],
44
59
  "scripts": {
45
60
  "build": "dts build",
46
61
  "build:dev": "dts watch",