Project Files
package.json
{
"name": "lms-plugin-data-sampler",
"version": "1.0.0",
"description": "LM Studio plugin for intelligent text sampling - splits and scores text into optimized chunks using priority, relevance, or length-based strategies.",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"dev": "tsc --watch"
},
"author": "primary-data",
"license": "MIT",
"lmstudio": {
"displayName": "Data Sampler",
"description": "Intelligent text sampling with 3 strategies: priority-based (keyword frequency + position scoring), relevance-based (BM25-style query scoring), and length-based (fixed-size chunking). Also supports loading sample rows from HuggingFace datasets via the HF Datasets Server API."
},
"dependencies": {
"@lmstudio/sdk": "^1.5.0",
"zod": "^3.23.0"
},
"devDependencies": {
"@types/node": "^20.11.0",
"typescript": "^5.3.3"
}
}