UNPKG

@caleblawson/rag

Version:

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

72 lines 1.71 kB
{ "name": "@caleblawson/rag", "version": "1.0.0", "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": "Elastic-2.0", "dependencies": { "@paralleldrive/cuid2": "^2.2.2", "big.js": "^7.0.1", "js-tiktoken": "^1.0.20", "node-html-better-parser": "^1.4.11", "pathe": "^2.0.3", "zod": "^3.25.57" }, "peerDependencies": { "@mastra/core": "^0.10.0-alpha.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": "^16.5.0", "eslint": "^9.28.0", "tsup": "^8.5.0", "typescript": "^5.8.3", "vitest": "^3.2.3", "@mastra/core": "npm:@caleblawson/core@0.10.7-alpha.0", "@internal/lint": "0.0.13" }, "keywords": [ "rag", "retrieval-augmented-generation", "vector-search", "vectorstore", "embeddings", "embedding", "document-processing", "semantic-search", "text-splitting", "chunking", "ai", "llm", "llms", "typescript" ], "scripts": { "build": "tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting", "buld:watch": "pnpm build --watch", "test": "vitest run", "lint": "eslint ." } }