add description
This commit is contained in:
parent
f42a2d3387
commit
41e612408c
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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)]
|
||||
|
|
|
|||
|
|
@ -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)]
|
||||
|
|
|
|||
|
|
@ -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)]
|
||||
|
|
|
|||
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Reference in New Issue