UNPKG

@mastra/rag

Version:

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

74 lines 1.68 kB
{ "name": "@mastra/rag", "version": "1.0.6", "description": "", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "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.2", "pathe": "^2.0.3", "zeroentropy": "0.1.0-alpha.6", "zod": "^3.25.67" }, "peerDependencies": { "@mastra/core": ">=0.10.0-0 <0.13.0-0", "ai": "^4.0.0" }, "devDependencies": { "@ai-sdk/cohere": "latest", "@ai-sdk/openai": "latest", "@microsoft/api-extractor": "^7.52.8", "@types/big.js": "^6.2.2", "@types/node": "^20.19.0", "ai": "^4.3.16", "dotenv": "^17.0.0", "eslint": "^9.30.1", "tsup": "^8.5.0", "typescript": "^5.8.3", "vitest": "^3.2.4", "@internal/lint": "0.0.25", "@mastra/core": "0.12.1" }, "keywords": [ "rag", "retrieval-augmented-generation", "vector-search", "vectorstore", "embeddings", "embedding", "document-processing", "semantic-search", "text-splitting", "chunking", "ai", "llm", "llms", "typescript" ], "scripts": { "build": "tsup --silent --config tsup.config.ts", "buld:watch": "pnpm build --watch", "vitest": "vitest", "test": "vitest run", "lint": "eslint ." } }