feat: Update copy for Vector Store Tool modes (no-changelog) (#12474)

This commit is contained in:
Mutasem Aldmour 2025-01-08 13:24:18 +03:00 committed by GitHub
parent 6e189fda77
commit 3654861886
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 7 deletions

View file

@ -517,7 +517,7 @@ describe('Node Creator', () => {
const actions = [ const actions = [
'Get ranked documents from vector store', 'Get ranked documents from vector store',
'Add documents to vector store', 'Add documents to vector store',
'Retrieve documents for AI processing', 'Retrieve documents for Chain/Tool as Vector Store',
]; ];
nodeCreatorFeature.actions.openNodeCreator(); nodeCreatorFeature.actions.openNodeCreator();

View file

@ -89,14 +89,14 @@ exports[`createVectorStoreNode retrieve mode supplies vector store as data 1`] =
"value": "insert", "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", "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", "outputConnectionType": "ai_vectorStore",
"value": "retrieve", "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", "description": "Retrieve documents from vector store to be used as tool with AI nodes",
"name": "Retrieve Documents (As Tool for AI Agent)", "name": "Retrieve Documents (As Tool for AI Agent)",
"outputConnectionType": "ai_tool", "outputConnectionType": "ai_tool",

View file

@ -111,17 +111,17 @@ function getOperationModeOptions(args: VectorStoreNodeConstructorArgs): INodePro
action: 'Add documents to vector store', 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', value: 'retrieve',
description: 'Retrieve documents from vector store to be used as vector store with AI nodes', 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, outputConnectionType: NodeConnectionType.AiVectorStore,
}, },
{ {
name: 'Retrieve Documents (As Tool for AI Agent)', name: 'Retrieve Documents (As Tool for AI Agent)',
value: 'retrieve-as-tool', value: 'retrieve-as-tool',
description: 'Retrieve documents from vector store to be used as tool with AI nodes', 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, outputConnectionType: NodeConnectionType.AiTool,
}, },
{ {