UNPKG

@n8n/n8n-nodes-langchain

Version:

![Banner image](https://user-images.githubusercontent.com/10284570/173569848-c624317f-42b1-45a6-ab09-f0ea3c247648.png)

30 lines (25 loc) 821 B
/** * Redis Vector Store Node - Version 1.3 * Discriminator: mode=update */ interface Credentials { redis: CredentialReference; } /** Update documents in vector store by ID */ export type LcVectorStoreRedisV13UpdateParams = { mode: 'update'; redisIndex?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string }; /** * ID of an embedding entry */ id: string | Expression<string> | PlaceholderValue; }; export interface LcVectorStoreRedisV13UpdateSubnodeConfig { embedding: EmbeddingInstance | EmbeddingInstance[]; } export type LcVectorStoreRedisV13UpdateNode = { type: '@n8n/n8n-nodes-langchain.vectorStoreRedis'; version: 1.3; credentials?: Credentials; config: NodeConfig<LcVectorStoreRedisV13UpdateParams> & { subnodes: LcVectorStoreRedisV13UpdateSubnodeConfig }; };