mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 11:00:55 +03:00
LLM Cache - Addition of Upstash Redis
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
import { INodeParams, INodeCredential } from '../src/Interface'
|
||||
|
||||
class UpstashRedisApi implements INodeCredential {
|
||||
label: string
|
||||
name: string
|
||||
version: number
|
||||
inputs: INodeParams[]
|
||||
|
||||
constructor() {
|
||||
this.label = 'Upstash Redis API'
|
||||
this.name = 'upstashRedisApi'
|
||||
this.version = 1.0
|
||||
this.inputs = [
|
||||
{
|
||||
label: 'Upstash Redis REST URL',
|
||||
name: 'upstashConnectionUrl',
|
||||
type: 'string'
|
||||
},
|
||||
{
|
||||
label: 'Token',
|
||||
name: 'upstashConnectionToken',
|
||||
type: 'password'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = { credClass: UpstashRedisApi }
|
||||
Reference in New Issue
Block a user