add description

This commit is contained in:
Henry 2023-10-11 20:09:13 +01:00
parent f42a2d3387
commit 41e612408c
5 changed files with 7 additions and 0 deletions

View File

@ -4,12 +4,15 @@ class UpstashRedisApi implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'Upstash Redis API'
this.name = 'upstashRedisApi'
this.version = 1.0
this.description =
'Refer to <a target="_blank" href="https://upstash.com/docs/redis/overall/getstarted">official guide</a> on how to create redis instance and get redis REST URL and Token'
this.inputs = [
{
label: 'Upstash Redis REST URL',

View File

@ -19,6 +19,7 @@ class InMemoryCache implements INode {
this.name = 'inMemoryCache'
this.version = 1.0
this.type = 'InMemoryCache'
this.description = 'Cache LLM response in memory, will be cleared once app restarted'
this.icon = 'inmemorycache.png'
this.category = 'Cache'
this.baseClasses = [this.type, ...getBaseClasses(InMemoryCacheExtended)]

View File

@ -19,6 +19,7 @@ class MomentoCache implements INode {
this.name = 'momentoCache'
this.version = 1.0
this.type = 'MomentoCache'
this.description = 'Cache LLM response using Momento, a distributed, serverless cache'
this.icon = 'momento.png'
this.category = 'Cache'
this.baseClasses = [this.type, ...getBaseClasses(LangchainMomentoCache)]

View File

@ -19,6 +19,7 @@ class RedisCache implements INode {
this.name = 'redisCache'
this.version = 1.0
this.type = 'RedisCache'
this.description = 'Cache LLM response in Redis, useful for sharing cache across multiple processes or servers'
this.icon = 'redis.svg'
this.category = 'Cache'
this.baseClasses = [this.type, ...getBaseClasses(LangchainRedisCache)]

View File

@ -18,6 +18,7 @@ class UpstashRedisCache implements INode {
this.name = 'upstashRedisCache'
this.version = 1.0
this.type = 'UpstashRedisCache'
this.description = 'Cache LLM response in Upstash Redis, serverless data for Redis and Kafka'
this.icon = 'upstash.png'
this.category = 'Cache'
this.baseClasses = [this.type, ...getBaseClasses(LangchainUpstashRedisCache)]