Skip to content

Commit 41e6124

Browse files
committed
add description
1 parent f42a2d3 commit 41e6124

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

packages/components/credentials/UpstashRedisApi.credential.ts

+3
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ class UpstashRedisApi implements INodeCredential {
44
label: string
55
name: string
66
version: number
7+
description: string
78
inputs: INodeParams[]
89

910
constructor() {
1011
this.label = 'Upstash Redis API'
1112
this.name = 'upstashRedisApi'
1213
this.version = 1.0
14+
this.description =
15+
'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'
1316
this.inputs = [
1417
{
1518
label: 'Upstash Redis REST URL',

packages/components/nodes/cache/InMemoryCache/InMemoryCache.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class InMemoryCache implements INode {
1919
this.name = 'inMemoryCache'
2020
this.version = 1.0
2121
this.type = 'InMemoryCache'
22+
this.description = 'Cache LLM response in memory, will be cleared once app restarted'
2223
this.icon = 'inmemorycache.png'
2324
this.category = 'Cache'
2425
this.baseClasses = [this.type, ...getBaseClasses(InMemoryCacheExtended)]

packages/components/nodes/cache/MomentoCache/MomentoCache.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class MomentoCache implements INode {
1919
this.name = 'momentoCache'
2020
this.version = 1.0
2121
this.type = 'MomentoCache'
22+
this.description = 'Cache LLM response using Momento, a distributed, serverless cache'
2223
this.icon = 'momento.png'
2324
this.category = 'Cache'
2425
this.baseClasses = [this.type, ...getBaseClasses(LangchainMomentoCache)]

packages/components/nodes/cache/RedisCache/RedisCache.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class RedisCache implements INode {
1919
this.name = 'redisCache'
2020
this.version = 1.0
2121
this.type = 'RedisCache'
22+
this.description = 'Cache LLM response in Redis, useful for sharing cache across multiple processes or servers'
2223
this.icon = 'redis.svg'
2324
this.category = 'Cache'
2425
this.baseClasses = [this.type, ...getBaseClasses(LangchainRedisCache)]

packages/components/nodes/cache/UpstashRedisCache/UpstashRedisCache.ts

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ class UpstashRedisCache implements INode {
1818
this.name = 'upstashRedisCache'
1919
this.version = 1.0
2020
this.type = 'UpstashRedisCache'
21+
this.description = 'Cache LLM response in Upstash Redis, serverless data for Redis and Kafka'
2122
this.icon = 'upstash.png'
2223
this.category = 'Cache'
2324
this.baseClasses = [this.type, ...getBaseClasses(LangchainUpstashRedisCache)]

0 commit comments

Comments
 (0)