mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 19:00:59 +03:00
fix: removes the optional credential key and unnecessary inputs
This commit is contained in:
@@ -33,8 +33,6 @@ class PostgresUpsert_VectorStores implements INode {
|
|||||||
label: 'Connect Credential',
|
label: 'Connect Credential',
|
||||||
name: 'credential',
|
name: 'credential',
|
||||||
type: 'credential',
|
type: 'credential',
|
||||||
description: 'Needed when using Postgres cloud hosted',
|
|
||||||
optional: true,
|
|
||||||
credentialNames: ['PostgresApi']
|
credentialNames: ['PostgresApi']
|
||||||
}
|
}
|
||||||
this.inputs = [
|
this.inputs = [
|
||||||
@@ -74,33 +72,10 @@ class PostgresUpsert_VectorStores implements INode {
|
|||||||
additionalParams: true,
|
additionalParams: true,
|
||||||
optional: 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',
|
label: 'Top K',
|
||||||
name: 'topK',
|
name: 'topK',
|
||||||
|
description: 'Number of top results to fetch. Default to 4',
|
||||||
placeholder: '4',
|
placeholder: '4',
|
||||||
type: 'number',
|
type: 'number',
|
||||||
additionalParams: true,
|
additionalParams: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user