UNPKG

@azure/openai-assistants

Version:

An isomorphic client library for Azure OpenAI Assistants.

151 lines (150 loc) 5.29 kB
{ "name": "@azure/openai-assistants", "sdk-type": "client", "author": "Microsoft Corporation", "version": "1.0.0-beta.6", "description": "An isomorphic client library for Azure OpenAI Assistants.", "keywords": [ "node", "azure", "cloud", "typescript", "browser", "isomorphic", "openai", "ai", "assistants" ], "license": "MIT", "type": "module", "main": "dist/index.cjs", "module": "./dist-esm/src/index.js", "types": "./types/openai-assistants.d.ts", "exports": { ".": { "types": "./types/src/index.d.ts", "require": "./dist/index.cjs", "import": "./dist-esm/src/index.js" }, "./api": { "types": "./types/src/api/index.d.ts", "import": "./dist-esm/src/api/index.js" }, "./models": { "types": "./types/src/models/index.d.ts", "import": "./dist-esm/src/models/index.js" }, "./rest": { "types": "./types/src/rest/index.d.ts", "import": "./dist-esm/src/rest/index.js" } }, "repository": "github:Azure/azure-sdk-for-js", "homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/openai/openai-assistants/README.md", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/", "dist-esm/src/", "types/openai-assistants.d.ts", "types/src", "README.md", "LICENSE", "CHANGELOG.md", "review/*" ], "engines": { "node": ">=18.0.0" }, "scripts": { "build:samples": "echo Obsolete", "generate": "tsp-client update", "customize": "rimraf src && dev-tool customization apply -s sources/generated/src && npm run format", "bundle": "tsc -p . && dev-tool run bundle", "build": "npm run clean && npm run bundle && api-extractor run --local", "build:test": "npm run bundle", "check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"", "clean": "rimraf --glob dist dist-* temp types *.tgz *.log", "execute:samples": "dev-tool samples run samples-dev", "extract-api": "tsc -p . && api-extractor run --local", "format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"sources/customizations/**/*.ts\" \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "integration-test:browser": "npm run unit-test:browser", "integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 \"dist-esm/test/public/{,!(browser)/**/}/*.spec.js\"", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "lint:fix": "eslint README.md package.json api-extractor.json src test --ext .ts,.javascript,.js --fix --fix-type [problem,suggestion]", "lint": "echo skipped", "pack": "npm pack 2>&1", "test:browser": "npm run clean && npm run build && npm run integration-test:browser", "test:node": "npm run clean && tsc -p . && npm run integration-test:node", "test": "npm run clean && tsc -p . && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test", "unit-test:browser": "echo skipped", "unit-test:node": "dev-tool run test:node-ts-input", "unit-test": "npm run unit-test:node && npm run unit-test:browser" }, "sideEffects": false, "autoPublish": false, "dependencies": { "@azure-rest/core-client": "^1.1.4", "@azure/core-auth": "^1.5.0", "@azure/core-client": "^1.7.3", "@azure/core-rest-pipeline": "^1.13.0", "@azure/core-util": "^1.6.1", "@azure/logger": "^1.0.4", "tslib": "^2.2.0" }, "devDependencies": { "@azure-tools/test-recorder": "^3.0.0", "@azure-tools/test-credential": "^1.0.1", "@azure/arm-cognitiveservices": "^7.5.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^4.0.1", "@azure-tools/test-utils": "^1.0.0", "@microsoft/api-extractor": "^7.31.1", "@types/mocha": "^10.0.0", "@types/node": "^18.0.0", "autorest": "latest", "c8": "^9.1.0", "cross-env": "^7.0.2", "dotenv": "^16.0.0", "eslint": "^8.0.0", "esm": "^3.2.25", "karma": "^6.2.0", "karma-chrome-launcher": "^3.0.0", "karma-coverage": "^2.0.0", "karma-env-preprocessor": "^0.1.1", "karma-firefox-launcher": "^2.1.2", "karma-junit-reporter": "^2.0.1", "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-source-map-support": "~1.4.0", "karma-sourcemap-loader": "^0.4.0", "mkdirp": "^2.1.2", "mocha": "^10.0.0", "prettier": "^2.5.1", "rimraf": "^3.0.2", "source-map-support": "^0.5.9", "ts-node": "^10.0.0", "typescript": "~5.3.3" }, "//metadata": { "constantPaths": [ { "path": "src/rest/assistantsClient.ts", "prefix": "userAgentInfo" } ] }, "//sampleConfiguration": { "productName": "Azure OpenAI", "productSlugs": [ "azure", "azure-cognitive-services", "azure-openai" ], "requiredResources": { "Azure Cognitive Services instance": "https://learn.microsoft.com/azure/cognitive-services/openai/how-to/create-resource" } } }