Knowledge
AI & KnowledgeKnowledge Node
Overview
Configure this node to integrate with external services or perform logic.
Configuration
| Property | Type | Default | Description |
|---|---|---|---|
datasetId | string | — | Dataset Id for this node |
query | string | — | Search or database query string |
topK | string | — | Number of top results to retrieve from knowledge base |
threshold | string | — | Similarity threshold for knowledge retrieval (0-1) |
Output Variables
Reference these variables in downstream nodes using the {{node.field}} syntax.
{{knowledge.results}}anyOutput field: results
{{knowledge.documents}}anyOutput field: documents
{{knowledge.context}}anyOutput field: context
Examples
Basic Usage
Example configuration:
{
"datasetId": "value",
"query": "value",
"topK": "value",
"threshold": "value"
}Tips & Best Practices
- •Ensure all required fields are configured.
- •Check the output variables to see available data.
- •Test with different temperature or model settings to optimize results.
Try Knowledge in Your Workflow
Create a free account and start building AI-powered workflows with the Knowledge node.
Open Workflow Editor