UNPKG

@n8n/n8n-nodes-langchain

Version:

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

40 lines (35 loc) 1.06 kB
/** * Supabase Vector Store Node - Version 1.3 * Discriminator: mode=update */ interface Credentials { supabaseApi: CredentialReference; } /** Update documents in vector store by ID */ export type LcVectorStoreSupabaseV13UpdateParams = { mode: 'update'; tableName?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string }; /** * ID of an embedding entry */ id: string | Expression<string> | PlaceholderValue; /** * Options * @default {} */ options?: { /** Name of the query to use for matching documents * @default match_documents */ queryName?: string | Expression<string> | PlaceholderValue; }; }; export interface LcVectorStoreSupabaseV13UpdateSubnodeConfig { embedding: EmbeddingInstance | EmbeddingInstance[]; } export type LcVectorStoreSupabaseV13UpdateNode = { type: '@n8n/n8n-nodes-langchain.vectorStoreSupabase'; version: 1.3; credentials?: Credentials; config: NodeConfig<LcVectorStoreSupabaseV13UpdateParams> & { subnodes: LcVectorStoreSupabaseV13UpdateSubnodeConfig }; };