diff --git a/cypress/e2e/4-node-creator.cy.ts b/cypress/e2e/4-node-creator.cy.ts index e841605863..5e32d5568c 100644 --- a/cypress/e2e/4-node-creator.cy.ts +++ b/cypress/e2e/4-node-creator.cy.ts @@ -517,7 +517,7 @@ describe('Node Creator', () => { const actions = [ 'Get ranked documents from vector store', 'Add documents to vector store', - 'Retrieve documents for AI processing', + 'Retrieve documents for Chain/Tool as Vector Store', ]; nodeCreatorFeature.actions.openNodeCreator(); diff --git a/packages/@n8n/nodes-langchain/nodes/vector_store/shared/__snapshots__/createVectorStoreNode.test.ts.snap b/packages/@n8n/nodes-langchain/nodes/vector_store/shared/__snapshots__/createVectorStoreNode.test.ts.snap index 91da891842..2eff69800b 100644 --- a/packages/@n8n/nodes-langchain/nodes/vector_store/shared/__snapshots__/createVectorStoreNode.test.ts.snap +++ b/packages/@n8n/nodes-langchain/nodes/vector_store/shared/__snapshots__/createVectorStoreNode.test.ts.snap @@ -89,14 +89,14 @@ exports[`createVectorStoreNode retrieve mode supplies vector store as data 1`] = "value": "insert", }, { - "action": "Retrieve documents for AI processing as Vector Store", + "action": "Retrieve documents for Chain/Tool as Vector Store", "description": "Retrieve documents from vector store to be used as vector store with AI nodes", - "name": "Retrieve Documents (As Vector Store for AI Agent)", + "name": "Retrieve Documents (As Vector Store for Chain/Tool)", "outputConnectionType": "ai_vectorStore", "value": "retrieve", }, { - "action": "Retrieve documents for AI processing as Tool", + "action": "Retrieve documents for AI Agent as Tool", "description": "Retrieve documents from vector store to be used as tool with AI nodes", "name": "Retrieve Documents (As Tool for AI Agent)", "outputConnectionType": "ai_tool", diff --git a/packages/@n8n/nodes-langchain/nodes/vector_store/shared/createVectorStoreNode.ts b/packages/@n8n/nodes-langchain/nodes/vector_store/shared/createVectorStoreNode.ts index f8e11cadf1..441126c985 100644 --- a/packages/@n8n/nodes-langchain/nodes/vector_store/shared/createVectorStoreNode.ts +++ b/packages/@n8n/nodes-langchain/nodes/vector_store/shared/createVectorStoreNode.ts @@ -111,17 +111,17 @@ function getOperationModeOptions(args: VectorStoreNodeConstructorArgs): INodePro action: 'Add documents to vector store', }, { - name: 'Retrieve Documents (As Vector Store for AI Agent)', + name: 'Retrieve Documents (As Vector Store for Chain/Tool)', value: 'retrieve', description: 'Retrieve documents from vector store to be used as vector store with AI nodes', - action: 'Retrieve documents for AI processing as Vector Store', + action: 'Retrieve documents for Chain/Tool as Vector Store', outputConnectionType: NodeConnectionType.AiVectorStore, }, { name: 'Retrieve Documents (As Tool for AI Agent)', value: 'retrieve-as-tool', description: 'Retrieve documents from vector store to be used as tool with AI nodes', - action: 'Retrieve documents for AI processing as Tool', + action: 'Retrieve documents for AI Agent as Tool', outputConnectionType: NodeConnectionType.AiTool, }, {