File tree Expand file tree Collapse file tree 3 files changed +866
-0
lines changed
nodes/vectorstores/Teradata Expand file tree Collapse file tree 3 files changed +866
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { INodeParams , INodeCredential } from '../src/Interface'
2
+
3
+ class TeradataVectorStoreApiCredentials implements INodeCredential {
4
+ label : string
5
+ name : string
6
+ version : number
7
+ inputs : INodeParams [ ]
8
+
9
+ constructor ( ) {
10
+ this . label = 'Teradata Vector Store API Credentials'
11
+ this . name = 'teradataVectorStoreApiCredentials'
12
+ this . version = 1.0
13
+ this . inputs = [
14
+ {
15
+ label : 'Teradata Host IP' ,
16
+ name : 'tdHostIp' ,
17
+ type : 'string'
18
+ } ,
19
+ {
20
+ label : 'Username' ,
21
+ name : 'tdUsername' ,
22
+ type : 'string'
23
+ } ,
24
+ {
25
+ label : 'Password' ,
26
+ name : 'tdPassword' ,
27
+ type : 'password'
28
+ } ,
29
+ {
30
+ label : 'Vector_Store_Base_URL' ,
31
+ name : 'baseURL' ,
32
+ description : 'Teradata Vector Store Base URL' ,
33
+ placeholder : `Base_URL` ,
34
+ type : 'string'
35
+ } ,
36
+ {
37
+ label : 'JWT Token' ,
38
+ name : 'jwtToken' ,
39
+ type : 'password' ,
40
+ description : 'Bearer token for JWT authentication' ,
41
+ optional : true
42
+ }
43
+ ]
44
+ }
45
+ }
46
+
47
+ module . exports = { credClass : TeradataVectorStoreApiCredentials }
You can’t perform that action at this time.
0 commit comments