Skip to content

Vector Store Weaviate

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

Credentials

weaviateApi (alias: @weaviate)

CREDENTIAL @weaviate = weaviateApi "My Vector Store Weaviate"

Parameters

Parameter Type Default Details
mode options "retrieve" load, insert, retrieve, retrieve-as-tool
toolName string "" required
toolDescription string "" required
weaviateCollection resourceLocator {...} required; modes: list, id
embeddingBatchSize number 200
options collection {} keys: tenant, textKey, skip_init_checks, timeout_init, timeout_insert, timeout_query, ...
prompt string "" required
topK number 4
includeDocumentMetadata boolean true
useReranker boolean false
id string "" required

options children:

Parameter Type Default Details
tenant string
textKey string "text"
skip_init_checks boolean false
timeout_init number 2
timeout_insert number 90
timeout_query number 30
proxy_grpc string
clearStore boolean false

Example

NODE "vectorStoreWeaviate" @weaviate AS "Vector Store Weaviate" {
  toolName: {{ $json.toolName }},
  toolDescription: {{ $json.toolDescription }},
  prompt: {{ $json.prompt }},
  id: {{ $json.id }}
}