LLM Cache - Addition of Upstash Redis

This commit is contained in:
vinodkiran
2023-10-06 13:17:56 +05:30
parent 29be2d2608
commit cddc68c187
4 changed files with 96 additions and 1 deletions
@@ -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 }