UNPKG

@mastra/rag

Version:

The Retrieval-Augmented Generation (RAG) module contains document processing and embedding utilities.

96 lines 2.16 kB
{ "name": "@mastra/rag", "version": "1.3.6", "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.2.2", "big.js": "^7.0.1", "js-tiktoken": "^1.0.20", "node-html-better-parser": "^1.5.8", "pathe": "^2.0.3", "zeroentropy": "0.1.0-alpha.6" }, "peerDependencies": { "@mastra/core": ">=0.20.0-0 <0.25.0-0", "ai": "^4.0.0 || ^5.0.0", "zod": "^3.25.0 || ^4.0.0" }, "devDependencies": { "@ai-sdk/cohere": "^1.2.10", "@ai-sdk/openai": "^1.3.24", "@microsoft/api-extractor": "^7.52.8", "@types/big.js": "^6.2.2", "@types/node": "^20.19.0", "ai": "^4.3.19", "dotenv": "^17.0.0", "eslint": "^9.37.0", "tsup": "^8.5.0", "typescript": "^5.8.3", "vitest": "^3.2.4", "zod": "^3.25.76", "@internal/lint": "0.0.64", "@mastra/core": "0.24.6", "@internal/types-builder": "0.0.39" }, "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" }, "publishConfig": { "access": "public", "publish-branch": [ "main", "0.x" ] }, "scripts": { "build": "tsup --silent --config tsup.config.ts", "build:watch": "pnpm build --watch", "vitest": "vitest", "test": "vitest run", "lint": "eslint ." } }