UNPKG

@ai-toolkit/openai

Version:

The **[OpenAI provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/openai)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs) contains language model support for the OpenAI chat and completion APIs and embedding model support for the O

70 lines 1.77 kB
{ "name": "@ai-toolkit/openai", "version": "1.2.1", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist/**/*", "internal/dist/**/*", "CHANGELOG.md" ], "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./internal": { "types": "./internal/dist/index.d.ts", "import": "./internal/dist/index.mjs", "module": "./internal/dist/index.mjs", "require": "./internal/dist/index.js" } }, "dependencies": { "@ai-toolkit/provider": "1.0.10", "@ai-toolkit/provider-utils": "2.1.11" }, "devDependencies": { "@types/node": "^18", "tsup": "^8", "typescript": "5.6.3", "zod": "3.23.8", "@khulnasoft/ai-tsconfig": "0.0.0" }, "peerDependencies": { "zod": "^3.0.0" }, "engines": { "node": ">=18" }, "publishConfig": { "access": "public" }, "homepage": "https://sdk.khulnasoft.com/docs", "repository": { "type": "git", "url": "git+https://github.com/khulnasoft/ai-toolkit.git" }, "bugs": { "url": "https://github.com/khulnasoft/ai-toolkit/issues" }, "keywords": [ "ai-toolkit" ], "scripts": { "build": "tsup", "build:watch": "tsup --watch", "clean": "rm -rf dist && rm -rf internal/dist", "lint": "eslint \"./**/*.ts*\"", "type-check": "tsc --noEmit", "prettier-check": "prettier --check \"./**/*.ts*\"", "test": "pnpm test:node && pnpm test:edge", "test:edge": "vitest --config vitest.edge.config.js --run", "test:node": "vitest --config vitest.node.config.js --run" } }