UNPKG

@n8n/n8n-nodes-langchain

Version:

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

46 lines (41 loc) 1.25 kB
/** * Zep Vector Store Node - Version 1.2 * Discriminator: mode=insert */ interface Credentials { zepApi: CredentialReference; } /** Insert documents into vector store */ export type LcVectorStoreZepV12InsertParams = { mode: 'insert'; collectionName: string | Expression<string> | PlaceholderValue; /** * Number of documents to embed in a single batch * @default 200 */ embeddingBatchSize?: number | Expression<number>; /** * Options * @default {} */ options?: { /** Whether to allow using characters from the Unicode surrogate blocks * @default 1536 */ embeddingDimensions?: number | Expression<number>; /** Whether to automatically embed documents when they are added * @default true */ isAutoEmbedded?: boolean | Expression<boolean>; }; }; export interface LcVectorStoreZepV12InsertSubnodeConfig { embedding: EmbeddingInstance | EmbeddingInstance[]; documentLoader: DocumentLoaderInstance | DocumentLoaderInstance[]; } export type LcVectorStoreZepV12InsertNode = { type: '@n8n/n8n-nodes-langchain.vectorStoreZep'; version: 1.2; credentials?: Credentials; config: NodeConfig<LcVectorStoreZepV12InsertParams> & { subnodes: LcVectorStoreZepV12InsertSubnodeConfig }; };