refactor: add display mode

This commit is contained in:
Mutasem Aldmour 2024-12-17 18:05:02 +01:00
parent 3fa1428ad0
commit ee23daeed6
No known key found for this signature in database
GPG key ID: 3DFA8122BB7FD6B8

View file

@ -223,6 +223,11 @@ export const createVectorStoreNode = (args: VectorStoreNodeConstructorArgs) =>
type: 'boolean', type: 'boolean',
default: true, default: true,
description: 'Whether or not to include document metadata', description: 'Whether or not to include document metadata',
displayOptions: {
show: {
mode: ['load', 'retrieve'],
},
},
}, },
// ID is always used for update operation // ID is always used for update operation
{ {