@mastra/rag
Version:
The Retrieval-Augmented Generation (RAG) module contains document processing and embedding utilities.
94 lines • 2.21 kB
JSON
{
"name": "@mastra/rag",
"version": "2.0.0",
"description": "",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"CHANGELOG.md"
],
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"author": "",
"license": "Apache-2.0",
"dependencies": {
"@paralleldrive/cuid2": "^2.3.1",
"big.js": "^7.0.1",
"js-tiktoken": "^1.0.21",
"node-html-better-parser": "^1.5.8",
"pathe": "^2.0.3",
"zeroentropy": "0.1.0-alpha.6"
},
"peerDependencies": {
"@mastra/core": ">=1.0.0-0 <2.0.0-0",
"zod": "^3.25.0 || ^4.0.0"
},
"devDependencies": {
"@ai-sdk/cohere": "^1.2.10",
"@ai-sdk/openai": "^1.3.24",
"@types/big.js": "^6.2.2",
"@types/node": "22.13.17",
"@vitest/coverage-v8": "4.0.12",
"@vitest/ui": "4.0.12",
"ai": "^4.3.19",
"dotenv": "^17.0.0",
"eslint": "^9.37.0",
"tsup": "^8.5.0",
"typescript": "^5.9.3",
"vitest": "4.0.16",
"zod": "^3.25.76",
"@internal/ai-sdk-v4": "0.0.1",
"@internal/types-builder": "0.0.29",
"@mastra/core": "1.0.0",
"@internal/lint": "0.0.54"
},
"keywords": [
"rag",
"retrieval-augmented-generation",
"vector-search",
"vectorstore",
"embeddings",
"embedding",
"document-processing",
"semantic-search",
"text-splitting",
"chunking",
"ai",
"llm",
"llms",
"typescript"
],
"homepage": "https://mastra.ai",
"repository": {
"type": "git",
"url": "git+https://github.com/mastra-ai/mastra.git",
"directory": "packages/rag"
},
"bugs": {
"url": "https://github.com/mastra-ai/mastra/issues"
},
"engines": {
"node": ">=22.13.0"
},
"scripts": {
"build:lib": "tsup --silent --config tsup.config.ts",
"build:docs": "pnpx tsx ../../scripts/generate-package-docs.ts packages/rag",
"build:watch": "pnpm build:lib --watch",
"vitest": "vitest",
"test": "vitest run",
"lint": "eslint ."
}
}