UNPKG

clusterkw

Version:

A package for clustering keywords using OpenAI embeddings

65 lines (64 loc) 1.74 kB
{ "name": "clusterkw", "version": "0.3.2", "description": "A package for clustering keywords using OpenAI embeddings", "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "clusterkw": "dist/cli.js" }, "directories": { "example": "examples", "test": "test" }, "scripts": { "build": "tsc", "test": "jest", "prepublishOnly": "npm run build", "example:basic": "ts-node examples/basic-usage.ts", "example:chat": "ts-node examples/chat-topics.ts", "example:tasks": "ts-node examples/project-tasks.ts", "example:algorithms": "ts-node examples/algorithm-comparison.ts", "example:direct": "ts-node examples/direct-clustering.ts", "example:context": "ts-node examples/context-clustering.ts", "cli": "ts-node src/cli.ts", "version:patch": "npm version patch", "version:minor": "npm version minor", "version:major": "npm version major", "publish": "npm publish" }, "keywords": [ "clustering", "keywords", "openai", "embeddings", "nlp", "ai" ], "author": "drinkredwine", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/drinkredwine/clusterkw.git" }, "bugs": { "url": "https://github.com/drinkredwine/clusterkw/issues" }, "homepage": "https://github.com/drinkredwine/clusterkw#readme", "devDependencies": { "@types/fs-extra": "^11.0.4", "@types/jest": "^29.5.14", "@types/node": "^22.13.11", "jest": "^29.7.0", "ts-jest": "^29.2.6", "ts-node": "^10.9.2", "typescript": "^5.8.2" }, "dependencies": { "commander": "^13.1.0", "csv-parser": "^3.2.0", "dotenv": "^16.4.7", "fs-extra": "^11.3.0", "openai": "^4.89.0" } }