UNPKG

@n8n/n8n-nodes-langchain

Version:

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

44 lines (39 loc) 1.25 kB
/** * MongoDB Atlas Vector Store Node - Version 1.3 * Discriminator: mode=update */ interface Credentials { mongoDb: CredentialReference; } /** Update documents in vector store by ID */ export type LcVectorStoreMongoDBAtlasV13UpdateParams = { mode: 'update'; mongoCollection?: { __rl: true; mode: 'list' | 'name'; value: string; cachedResultName?: string }; /** * The field with the embedding array * @default embedding */ embedding?: string | Expression<string> | PlaceholderValue; /** * The text field of the raw data * @default text */ metadata_field?: string | Expression<string> | PlaceholderValue; /** * The name of the vector index */ vectorIndexName: string | Expression<string> | PlaceholderValue; /** * ID of an embedding entry */ id: string | Expression<string> | PlaceholderValue; }; export interface LcVectorStoreMongoDBAtlasV13UpdateSubnodeConfig { embedding: EmbeddingInstance | EmbeddingInstance[]; } export type LcVectorStoreMongoDBAtlasV13UpdateNode = { type: '@n8n/n8n-nodes-langchain.vectorStoreMongoDBAtlas'; version: 1.3; credentials?: Credentials; config: NodeConfig<LcVectorStoreMongoDBAtlasV13UpdateParams> & { subnodes: LcVectorStoreMongoDBAtlasV13UpdateSubnodeConfig }; };