@ts-dspy/openai
Version:
OpenAI ChatGPT integration for TS-DSPy - enables type-safe LLM interactions with GPT-3.5, GPT-4, and other OpenAI models for TypeScript
50 lines (49 loc) • 1.32 kB
JSON
{
"name": "@ts-dspy/openai",
"version": "0.4.2",
"description": "OpenAI ChatGPT integration for TS-DSPy - enables type-safe LLM interactions with GPT-3.5, GPT-4, and other OpenAI models for TypeScript",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md"
],
"scripts": {
"build": "npm run clean && npm run build:js && npm run build:types",
"build:js": "rollup -c",
"build:types": "mkdir -p temp && tsc src/index.ts src/openai-lm.ts --declaration --outDir temp --skipLibCheck && cp temp/*.d.ts dist/ && rm -rf temp",
"dev": "tsc --watch",
"test": "jest",
"lint": "eslint src --ext .ts",
"clean": "rm -rf dist"
},
"dependencies": {
"@ts-dspy/core": "^0.3.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-typescript": "^11.0.0",
"@types/jest": "^29.5.0",
"jest": "^29.5.0",
"rollup": "^3.0.0",
"ts-jest": "^29.0.0",
"typescript": "^5.0.0"
},
"keywords": [
"ai",
"openai",
"llm",
"dspy",
"typescript"
],
"author": "Arnav Dadarya",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/ardada2468/LLMTypeSafe.git"
}
}