UNPKG

@n8n/n8n-nodes-langchain

Version:

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

42 lines (37 loc) 1.14 kB
/** * Milvus Vector Store Node - Version 1.3 * Discriminator: mode=insert */ interface Credentials { milvusApi: CredentialReference; } /** Insert documents into vector store */ export type LcVectorStoreMilvusV13InsertParams = { mode: 'insert'; milvusCollection?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string }; /** * Number of documents to embed in a single batch * @default 200 */ embeddingBatchSize?: number | Expression<number>; /** * Options * @default {} */ options?: { /** Whether to clear the collection before inserting new data * @default false */ clearCollection?: boolean | Expression<boolean>; }; }; export interface LcVectorStoreMilvusV13InsertSubnodeConfig { embedding: EmbeddingInstance | EmbeddingInstance[]; documentLoader: DocumentLoaderInstance | DocumentLoaderInstance[]; } export type LcVectorStoreMilvusV13InsertNode = { type: '@n8n/n8n-nodes-langchain.vectorStoreMilvus'; version: 1.3; credentials?: Credentials; config: NodeConfig<LcVectorStoreMilvusV13InsertParams> & { subnodes: LcVectorStoreMilvusV13InsertSubnodeConfig }; };