First draft of PaLM API LLM component

This commit is contained in:
Martin Andrews
2023-09-05 18:43:14 +00:00
parent cc0e7b3703
commit e5167f3e20
4 changed files with 249 additions and 0 deletions
@@ -0,0 +1,23 @@
import { INodeParams, INodeCredential } from '../src/Interface'
class GoogleMakerSuite implements INodeCredential {
label: string
name: string
version: number
inputs: INodeParams[]
constructor() {
this.label = 'Google MakerSuite'
this.name = 'googleMakerSuite'
this.version = 1.0
this.inputs = [
{
label: 'MakerSuite API Key',
name: 'googleMakerSuiteKey',
type: 'password'
}
]
}
}
module.exports = { credClass: GoogleMakerSuite }