UNPKG

n8n-nodes-voyageai-embeddings-unofficial

Version:
38 lines 1.28 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.VoyageAiCredentialsApi = void 0; class VoyageAiCredentialsApi { constructor() { this.name = "voyageAiApi"; this.displayName = "Voyage AI API"; this.documentationUrl = "https://docs.voyageai.com/docs/api-key-and-installation"; this.icon = "file:voyage-ai.svg"; this.properties = [ { displayName: "API Key", name: "apiKey", type: "string", typeOptions: { password: true }, required: true, default: "", }, { displayName: "Base URL", name: "url", type: "string", default: "https://api.voyageai.com/v1", description: "Override the default base URL for the API", }, ]; this.authenticate = { type: "generic", properties: { headers: { Authorization: "=Bearer {{$credentials.apiKey}}", }, }, }; } } exports.VoyageAiCredentialsApi = VoyageAiCredentialsApi; //# sourceMappingURL=VoyageAiCredentialsApi.credentials.js.map