upgrade langchain version 0.1.0

This commit is contained in:
Henry
2024-01-26 23:41:55 +00:00
parent 601a4d6b66
commit 0606d2c6dd
180 changed files with 905 additions and 746 deletions
@@ -0,0 +1,32 @@
import { INodeParams, INodeCredential } from '../src/Interface'
class LunaryApi implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'Lunary API'
this.name = 'lunaryApi'
this.version = 1.0
this.description = 'Refer to <a target="_blank" href="https://lunary.ai/docs">official guide</a> to get APP ID'
this.inputs = [
{
label: 'APP ID',
name: 'lunaryAppId',
type: 'password',
placeholder: '<Lunary_APP_ID>'
},
{
label: 'Endpoint',
name: 'lunaryEndpoint',
type: 'string',
default: 'https://app.lunary.ai'
}
]
}
}
module.exports = { credClass: LunaryApi }