n8n-nodes-sap-ai-core
Version:
n8n nodes for SAP AI Core LLM and embeddings integration
51 lines • 1.81 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SapAiCoreApi = void 0;
class SapAiCoreApi {
constructor() {
this.name = 'sapAiCoreApi';
this.displayName = 'SAP AI Core API';
this.documentationUrl = 'https://help.sap.com/docs/sap-ai-core';
this.properties = [
{
displayName: 'Client ID',
name: 'clientId',
type: 'string',
default: '',
required: true,
description: 'OAuth2 Client ID for SAP AI Core (format: sb-xxxxxx!xxxx|aicore!xxxx)',
},
{
displayName: 'Client Secret',
name: 'clientSecret',
type: 'string',
typeOptions: {
password: true,
},
default: '',
required: true,
description: 'OAuth2 Client Secret for SAP AI Core',
},
{
displayName: 'OAuth URL',
name: 'oauthUrl',
type: 'string',
default: '',
placeholder: 'https://your-subaccount.authentication.eu10.hana.ondemand.com',
required: true,
description: 'OAuth2 endpoint URL for authentication',
},
{
displayName: 'Base URL',
name: 'baseUrl',
type: 'string',
default: '',
placeholder: 'https://api.ai.sample-region.aws.ml.hana.ondemand.com',
required: true,
description: 'Base URL for SAP AI Core API',
},
];
}
}
exports.SapAiCoreApi = SapAiCoreApi;
//# sourceMappingURL=SapAiCoreApi.credentials.js.map