rag-cli-tester
Version:
A lightweight CLI tool for testing RAG (Retrieval-Augmented Generation) systems with different embedding combinations
79 lines (78 loc) • 2.39 kB
JSON
{
"name": "rag-cli-tester",
"version": "1.0.54",
"description": "A lightweight CLI tool for testing RAG (Retrieval-Augmented Generation) systems with different embedding combinations",
"main": "dist/index.js",
"bin": {
"rag-test": "dist/cli.js"
},
"scripts": {
"build": "tsc",
"start": "node dist/cli.js",
"dev": "ts-node src/cli.ts",
"test": "jest",
"test:unit": "jest tests/unit",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:all": "jest --coverage",
"lint": "echo \"No linting configured\" && exit 0",
"validate": "npm run build && npm run test:all",
"prepublishOnly": "npm run validate",
"release": "powershell -ExecutionPolicy Bypass -File scripts/release.ps1",
"release:patch": "npm run release -- \"Bug fixes and improvements\" patch",
"release:minor": "npm run release -- \"New features added\" minor",
"release:major": "npm run release -- \"Breaking changes\" major",
"test-1-brdr": "npm run build && node dist/cli.js test --table brdr_documents_data --columns 'content,keywords,nlp_chunk_description' --query nlp_chunk_description --answer content --metric brdr --ratio 0.8 --seed 1 --limit 20"
},
"keywords": [
"rag",
"testing",
"embeddings",
"cli",
"ai",
"nlp",
"similarity",
"database",
"evaluation"
],
"author": "AI Assistant",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Syed-Ayan-Ali/rag-cli-tester.git"
},
"bugs": {
"url": "https://github.com/Syed-Ayan-Ali/rag-testing-framework-cli/issues"
},
"homepage": "https://github.com/Syed-Ayan-Ali/rag-testing-framework-cli#readme",
"engines": {
"node": ">=18.0.0"
},
"files": [
"dist/**/*",
"README.md",
"LICENSE"
],
"dependencies": {
"@ai-sdk/openai": "^0.0.0",
"@ai-sdk/openai-compatible": "^1.0.11",
"@supabase/supabase-js": "^2.55.0",
"@xenova/transformers": "^2.17.2",
"ai": "^3.0.0",
"chalk": "^4.1.2",
"cli-table3": "^0.6.5",
"commander": "^12.0.0",
"dotenv": "^16.4.5",
"inquirer": "^8.2.6",
"ora": "^5.4.1"
},
"devDependencies": {
"@types/inquirer": "^8.2.10",
"@types/jest": "^30.0.0",
"@types/node": "^20.16.13",
"jest": "^30.0.5",
"ts-jest": "^29.4.1",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
}
}