Feature/TogetherAI (#2318)

add togetherAI
This commit is contained in:
Henry Heng
2024-05-04 18:25:13 +01:00
committed by GitHub
parent 9971627821
commit 5a137a478c
6 changed files with 173 additions and 1 deletions
@@ -0,0 +1,23 @@
import { INodeParams, INodeCredential } from '../src/Interface'
class TogetherAIApi implements INodeCredential {
label: string
name: string
version: number
inputs: INodeParams[]
constructor() {
this.label = 'TogetherAI API'
this.name = 'togetherAIApi'
this.version = 1.0
this.inputs = [
{
label: 'TogetherAI Api Key',
name: 'togetherAIApiKey',
type: 'password'
}
]
}
}
module.exports = { credClass: TogetherAIApi }