Skip to content

Chat Hub Vector Store Pg Vector

Node: chatHubVectorStorePGVector · Full type: @n8n/n8n-nodes-langchain.chatHubVectorStorePGVector · Version: 1.3

Credentials

chatHubVectorStorePGVectorApi (alias: @chat)

CREDENTIAL @chat = chatHubVectorStorePGVectorApi "My Chat Hub Vector Store Pg Vector"

Parameters

Parameter Type Default Details
mode options "retrieve" load, insert, retrieve, retrieve-as-tool
toolName string "" required
toolDescription string "" required
embeddingBatchSize number 200
prompt string "" required
topK number 4
includeDocumentMetadata boolean true
useReranker boolean false
id string "" required
options collection {} keys: metadata

options children:

Parameter Type Default Details
metadata fixedCollection {} groups: metadataValues

Example

NODE "chatHubVectorStorePGVector" @chat AS "Chat Hub Vector Store Pg Vector" {
  toolName: {{ $json.toolName }},
  toolDescription: {{ $json.toolDescription }},
  prompt: {{ $json.prompt }},
  id: {{ $json.id }}
}