@mastra/rag 2.6.5-alpha.2 → 2.6.5

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.
@@ -3,7 +3,7 @@ name: mastra-rag
3
3
  description: Documentation for @mastra/rag. Use when working with @mastra/rag APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/rag"
6
- version: "2.6.5-alpha.2"
6
+ version: "2.6.5"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.6.5-alpha.2",
2
+ "version": "2.6.5",
3
3
  "package": "@mastra/rag",
4
4
  "exports": {},
5
5
  "modules": {}
@@ -127,7 +127,7 @@ Throws if the snapshot version is unsupported, if a node embedding doesn't match
127
127
 
128
128
  ## Persisting a graph
129
129
 
130
- Building a graph is O(n²) in the number of chunks, so rebuilding it on every process start is wasteful. Serialize the graph once and store the snapshot wherever you already keep state. A snapshot is plain JSON, so any store works (a file, a blob column, a key-value cache), and `GraphRAG` doesn't depend on a storage backend.
130
+ Building a graph is O(n²) in the number of chunks, so rebuilding it on every process start is wasteful. Serialize the graph once and store the snapshot wherever you already keep state. A snapshot is plain JSON. Any store works (a file, a blob column, a key-value cache), and `GraphRAG` doesn't depend on a storage backend.
131
131
 
132
132
  ```typescript
133
133
  import { readFile, writeFile } from 'node:fs/promises'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/rag",
3
- "version": "2.6.5-alpha.2",
3
+ "version": "2.6.5",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -50,10 +50,10 @@
50
50
  "typescript": "^7.0.2",
51
51
  "vitest": "4.1.11",
52
52
  "zod": "^4.6.4",
53
- "@internal/ai-sdk-v4": "0.0.84",
54
- "@internal/lint": "0.0.137",
55
- "@mastra/core": "1.72.0-alpha.7",
56
- "@internal/types-builder": "0.0.112"
53
+ "@internal/types-builder": "0.0.113",
54
+ "@internal/lint": "0.0.138",
55
+ "@mastra/core": "1.72.0",
56
+ "@internal/ai-sdk-v4": "0.0.85"
57
57
  },
58
58
  "keywords": [
59
59
  "rag",