@sap-ai-sdk/foundation-models
Version:
SAP Cloud SDK for AI is the official Software Development Kit (SDK) for **SAP AI Core**, **SAP Generative AI Hub**, and **Orchestration Service**.
44 lines • 1.53 kB
JSON
{
"name": "@sap-ai-sdk/foundation-models",
"version": "2.11.0",
"description": "",
"license": "Apache-2.0",
"keywords": [
"sap-ai-sdk",
"foundation-models",
"llm-access"
],
"repository": {
"type": "git",
"url": "https://github.com/SAP/ai-sdk-js",
"directory": "packages/foundation-models"
},
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
"dist/**/*.d.ts",
"dist/**/*.d.ts.map",
"internal.js",
"internal.d.ts"
],
"dependencies": {
"@sap-cloud-sdk/connectivity": "^4.7.0",
"@sap-cloud-sdk/http-client": "^4.7.0",
"@sap-cloud-sdk/util": "^4.7.0",
"@sap-ai-sdk/ai-api": "^2.11.0",
"@sap-ai-sdk/core": "^2.11.0"
},
"scripts": {
"compile": "tsc",
"compile:cjs": "tsc -p tsconfig.cjs.json",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"lint": "eslint \"**/*.ts\" && prettier . --config ../../.prettierrc --ignore-path ../../.prettierignore -c",
"lint:fix": "eslint \"**/*.ts\" --fix && prettier . --config ../../.prettierrc --ignore-path ../../.prettierignore -w --log-level error",
"generate": "pnpm generate:azure-openai",
"generate:azure-openai": "cd ./src/azure-openai/spec && openapi-generator --resolveExternal false --generateESM --clearOutputDir -i ./inference.json -o ../client --schemaPrefix AzureOpenAi && cd ..",
"postgenerate:azure-openai": "rm ./src/azure-openai/client/inference/*.ts && pnpm lint:fix"
}
}