UNPKG

llm-exe

Version:

Simplify building LLM-powered apps with easy-to-use base components, supporting text and chat-based prompts with handlebars template engine, output parsers, and flexible function calling capabilities.

96 lines (95 loc) 3.47 kB
{ "name": "llm-exe", "version": "2.1.7", "description": "Simplify building LLM-powered apps with easy-to-use base components, supporting text and chat-based prompts with handlebars template engine, output parsers, and flexible function calling capabilities.", "keywords": [ "ai", "llm", "openai", "anthropic", "bedrock", "llama", "gpt-3.5-turbo", "gpt-4", "claude", "grok", "gemini", "chain", "prompt", "agent" ], "source": "./src/index.ts", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.mjs" } }, "files": [ "dist" ], "engines": { "node": ">=18" }, "scripts": { "test": "NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.ts --detectOpenHandles --coverage --forceExit", "test-examples": "eval $(cat .env) NODE_OPTIONS=--experimental-vm-modules jest --config jest.config.examples.ts --detectOpenHandles --coverage --forceExit", "test-one": "eval $(cat .env) NODE_OPTIONS=--experimental-vm-modules jest --detectOpenHandles --coverage --forceExit --config jest.config.examples.ts examples/helloWorldReasoning.test.ts", "build": "(concurrently \"tsc --p ./tsconfig.json -w\" \"tsc-alias -p tsconfig.json -w\")", "build:ci": "tsup src/index.ts --format cjs,esm --dts --clean", "build:package": "tsup src/index.ts --format cjs,esm --dts --clean", "build:docs-examples": "./node_modules/.bin/esbuild examples/prompt/index.ts examples/state/index.ts --bundle --outdir=docs/.vitepress/components/examples --platform=node --target=es6 --format=esm", "build:watch:docs-examples": "./node_modules/.bin/esbuild examples/prompt/index.ts examples/state/index.ts --watch --bundle --outdir=docs/.vitepress/components/examples --platform=node --target=es6 --format=esm", "predocs:build": "npm run build:docs-examples", "docs:dev": "(concurrently \"vitepress dev docs\" \"npm run build:watch:docs-examples\")", "docs:build": "vitepress build docs", "lint": "eslint", "format:check": "prettier --check \"src\"", "format:write": "prettier --write \"src\"", "publish-main": "npm publish", "publish-beta": "npm publish --tag beta" }, "author": "Greg Reindel", "license": "MIT", "dependencies": { "@aws-crypto/sha256-js": "5.2.0", "@aws-sdk/credential-providers": "3.624.0", "@smithy/signature-v4": "4.1.0", "exponential-backoff": "3.1.1", "handlebars": "4.7.8", "json-schema-to-ts": "3.1.0", "jsonschema": "1.4.1", "uuid": "10.0.0" }, "devDependencies": { "@tsconfig/recommended": "^1.0.2", "@types/jest": "^29.5.2", "@types/json-schema": "^7.0.11", "@types/node": "17.0.23", "@types/prettier": "2.6.0", "@types/uuid": "^10.0.0", "concurrently": "^8.2.2", "esbuild": "0.23.1", "eslint": "^8.41.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-prettier": "^4.2.1", "jest": "^29.5.0", "prettier": "^2.8.8", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "tsc-alias": "^1.6.6", "tsup": "^8.2.4", "tsconfig-paths": "^3.14.1", "typescript": "^4.8.4", "vitepress": "^1.3.2" }, "repository": { "type": "git", "url": "https://github.com/gregreindel/llm-exe" }, "homepage": "https:/llm-exe.com" }