Type alias RedisChatMessageHistoryInput
RedisChatMessageHistoryInput: {
sessionId: string;
client?: Redis;
config?: RedisOptions;
sessionTTL?: number;
url?: string;
}
Type declaration
-
sessionId: string
-
Optional
client?: Redis
-
Optional
config?: RedisOptions
-
Optional
sessionTTL?: number
-
Optional
url?: string
Type for the input parameter of the RedisChatMessageHistory constructor. It includes fields for the session ID, session TTL, Redis URL, Redis configuration, and Redis client.