@voltx/rag 0.4.2 → 0.4.4
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/LICENSE +21 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +13 -11
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Promptly AI Team
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.d.mts
CHANGED
|
@@ -312,6 +312,6 @@ declare class RAGPipeline {
|
|
|
312
312
|
* ```
|
|
313
313
|
*/
|
|
314
314
|
declare function createRAGPipeline(config: RAGPipelineConfig): RAGPipeline;
|
|
315
|
-
declare const VERSION = "0.4.
|
|
315
|
+
declare const VERSION = "0.4.4";
|
|
316
316
|
|
|
317
317
|
export { CharacterSplitter, type CharacterSplitterOptions, type ChunkOptions, type ChunkStrategy, type DocumentChunk, type DocumentLoader, type Embedder, type EmbedderConfig, JSONLoader, type JSONLoaderOptions, MDocument, MarkdownLoader, MarkdownSplitter, type MarkdownSplitterOptions, type RAGIngestResult, RAGPipeline, type RAGPipelineConfig, type RAGQueryOptions, type RAGQueryResult, type RecursiveSplitterOptions, RecursiveTextSplitter, TextLoader, type TextSplitter, VERSION, WebLoader, cosineSimilarity, createEmbedder, createRAGPipeline };
|
package/dist/index.d.ts
CHANGED
|
@@ -312,6 +312,6 @@ declare class RAGPipeline {
|
|
|
312
312
|
* ```
|
|
313
313
|
*/
|
|
314
314
|
declare function createRAGPipeline(config: RAGPipelineConfig): RAGPipeline;
|
|
315
|
-
declare const VERSION = "0.4.
|
|
315
|
+
declare const VERSION = "0.4.4";
|
|
316
316
|
|
|
317
317
|
export { CharacterSplitter, type CharacterSplitterOptions, type ChunkOptions, type ChunkStrategy, type DocumentChunk, type DocumentLoader, type Embedder, type EmbedderConfig, JSONLoader, type JSONLoaderOptions, MDocument, MarkdownLoader, MarkdownSplitter, type MarkdownSplitterOptions, type RAGIngestResult, RAGPipeline, type RAGPipelineConfig, type RAGQueryOptions, type RAGQueryResult, type RecursiveSplitterOptions, RecursiveTextSplitter, TextLoader, type TextSplitter, VERSION, WebLoader, cosineSimilarity, createEmbedder, createRAGPipeline };
|
package/dist/index.js
CHANGED
|
@@ -551,7 +551,7 @@ ${s.content}`).join("\n\n---\n\n");
|
|
|
551
551
|
function createRAGPipeline(config) {
|
|
552
552
|
return new RAGPipeline(config);
|
|
553
553
|
}
|
|
554
|
-
var VERSION = "0.4.
|
|
554
|
+
var VERSION = "0.4.4";
|
|
555
555
|
// Annotate the CommonJS export names for ESM import in node:
|
|
556
556
|
0 && (module.exports = {
|
|
557
557
|
CharacterSplitter,
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voltx/rag",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "VoltX RAG pipeline primitives — document loading, chunking, embedding, retrieval",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -13,20 +13,17 @@
|
|
|
13
13
|
"require": "./dist/index.js"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
18
|
-
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
19
|
-
"clean": "rm -rf dist"
|
|
20
|
-
},
|
|
21
16
|
"dependencies": {
|
|
22
|
-
"@voltx/ai": "^0.4.
|
|
23
|
-
"@voltx/db": "^0.4.
|
|
17
|
+
"@voltx/ai": "^0.4.4",
|
|
18
|
+
"@voltx/db": "^0.4.4"
|
|
24
19
|
},
|
|
25
20
|
"devDependencies": {
|
|
26
21
|
"tsup": "^8.0.0",
|
|
27
22
|
"typescript": "^5.7.0"
|
|
28
23
|
},
|
|
29
|
-
"files": [
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
30
27
|
"license": "MIT",
|
|
31
28
|
"repository": {
|
|
32
29
|
"type": "git",
|
|
@@ -45,5 +42,10 @@
|
|
|
45
42
|
"document-loaders",
|
|
46
43
|
"text-splitters",
|
|
47
44
|
"vector-search"
|
|
48
|
-
]
|
|
49
|
-
|
|
45
|
+
],
|
|
46
|
+
"scripts": {
|
|
47
|
+
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
48
|
+
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
49
|
+
"clean": "rm -rf dist"
|
|
50
|
+
}
|
|
51
|
+
}
|