UNPKG

@n8n/n8n-nodes-langchain

Version:

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

49 lines 1.44 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MilvusApi = void 0; class MilvusApi { constructor() { this.name = 'milvusApi'; this.displayName = 'Milvus'; this.documentationUrl = 'milvus'; this.properties = [ { displayName: 'Base URL', name: 'baseUrl', required: true, type: 'string', default: 'http://localhost:19530', }, { displayName: 'Username', name: 'username', type: 'string', default: '', }, { displayName: 'Password', name: 'password', type: 'string', typeOptions: { password: true }, default: '', }, ]; this.authenticate = { type: 'generic', properties: { headers: { Authorization: '=Bearer {{$credentials.username}}:{{$credentials.password}}', }, }, }; this.test = { request: { baseURL: '={{ $credentials.baseUrl }}', url: '/v1/vector/collections', method: 'GET', }, }; } } exports.MilvusApi = MilvusApi; //# sourceMappingURL=MilvusApi.credentials.js.map