feature: Integrate Astra Vectorstore

This commit is contained in:
hakeemsyd
2024-01-12 00:31:21 +05:00
parent 1d8d97c7a1
commit e634a6b584
4 changed files with 227 additions and 0 deletions
@@ -0,0 +1,34 @@
import { INodeParams, INodeCredential } from '../src/Interface'
class AstraApi implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'Astra API'
this.name = 'AstraApi'
this.version = 1.0
this.inputs = [
{
label: 'Colection Name',
name: 'collectionName',
type: 'string'
},
{
label: 'Astra DB Application Token',
name: 'applicationToken',
type: 'password'
},
{
label: 'Astra DB Api Endpoint',
name: 'dbEndPoint',
type: 'string'
}
]
}
}
module.exports = { credClass: AstraApi }