UNPKG

context-window

Version:

A production-grade RAG library with OpenAI embeddings and Pinecone vector storage

80 lines (79 loc) 2.05 kB
{ "name": "context-window", "version": "0.1.1", "description": "A production-grade RAG library with OpenAI embeddings and Pinecone vector storage", "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "tsup", "dev": "tsup --watch", "lint": "eslint . --ext .ts", "test": "vitest run", "check": "tsc --noEmit", "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"", "prepublishOnly": "npm run build && npm run check && npm run test", "prepack": "npm run build", "publish:dry": "npm publish --dry-run", "pack:check": "npm pack --dry-run", "verify-ready": "./scripts/verify-publish-ready.sh" }, "keywords": [ "rag", "retrieval-augmented-generation", "openai", "pinecone", "embeddings", "vector-search", "context-window", "ai", "llm", "chatbot", "semantic-search", "document-qa", "vector-database", "typescript" ], "author": "Hamit Tokay <hamittokay@gmail.com> (https://github.com/hamittokay)", "repository": { "type": "git", "url": "https://github.com/hamittokay/context-window.git" }, "bugs": { "url": "https://github.com/hamittokay/context-window/issues" }, "homepage": "https://github.com/hamittokay/context-window#readme", "license": "MIT", "dependencies": { "@pinecone-database/pinecone": "^3.0.3", "openai": "^4.77.0", "pdf-parse": "^1.1.1" }, "devDependencies": { "@types/node": "^20.17.9", "@types/pdf-parse": "^1.1.4", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.57.1", "prettier": "^3.4.2", "tsup": "^8.3.5", "typescript": "^5.7.2", "vitest": "^1.6.0" }, "engines": { "node": ">=18.0.0" } }