From e4b783304b3b376c281cc0c7b7fae731c2fdd573 Mon Sep 17 00:00:00 2001 From: fabiovalencio Date: Fri, 18 Aug 2023 18:40:54 +0100 Subject: [PATCH] fix: removes the optional credential key and unnecessary inputs --- .../Postgres_Upsert/Postgres_Upsert.ts | 27 +------------------ 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/packages/components/nodes/vectorstores/Postgres_Upsert/Postgres_Upsert.ts b/packages/components/nodes/vectorstores/Postgres_Upsert/Postgres_Upsert.ts index d0ded548..7df0ecb1 100644 --- a/packages/components/nodes/vectorstores/Postgres_Upsert/Postgres_Upsert.ts +++ b/packages/components/nodes/vectorstores/Postgres_Upsert/Postgres_Upsert.ts @@ -33,8 +33,6 @@ class PostgresUpsert_VectorStores implements INode { label: 'Connect Credential', name: 'credential', type: 'credential', - description: 'Needed when using Postgres cloud hosted', - optional: true, credentialNames: ['PostgresApi'] } this.inputs = [ @@ -74,33 +72,10 @@ class PostgresUpsert_VectorStores implements INode { additionalParams: true, optional: true }, - { - label: 'Content Column Name', - name: 'contentColumnName', - type: 'string', - placeholder: 'content', - additionalParams: true, - optional: true - }, - { - label: 'Vector Column Name', - name: 'vectorColumnName', - type: 'string', - placeholder: 'vector', - additionalParams: true, - optional: true - }, - { - label: 'Metadata Column Name', - name: 'metadataColumnName', - type: 'string', - placeholder: 'metadata', - additionalParams: true, - optional: true - }, { label: 'Top K', name: 'topK', + description: 'Number of top results to fetch. Default to 4', placeholder: '4', type: 'number', additionalParams: true,