UNPKG

@n8n/n8n-nodes-langchain

Version:

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

37 lines (32 loc) 1.03 kB
/** * Supabase Vector Store Node - Version 1 * Discriminator: mode=insert */ interface Credentials { supabaseApi: CredentialReference; } /** Insert documents into vector store */ export type LcVectorStoreSupabaseV1InsertParams = { mode: 'insert'; tableName?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string }; /** * Options * @default {} */ options?: { /** Name of the query to use for matching documents * @default match_documents */ queryName?: string | Expression<string> | PlaceholderValue; }; }; export interface LcVectorStoreSupabaseV1InsertSubnodeConfig { embedding: EmbeddingInstance | EmbeddingInstance[]; documentLoader: DocumentLoaderInstance | DocumentLoaderInstance[]; } export type LcVectorStoreSupabaseV1InsertNode = { type: '@n8n/n8n-nodes-langchain.vectorStoreSupabase'; version: 1; credentials?: Credentials; config: NodeConfig<LcVectorStoreSupabaseV1InsertParams> & { subnodes: LcVectorStoreSupabaseV1InsertSubnodeConfig }; };