What are Graph RAG Nodes?
Graph RAG nodes automatically handle:- Document Processing: Intelligent document ingestion and preparation
- Entity Extraction: Advanced entity recognition using large language models
- Relationship Mapping: Automated identification of entity relationships
- Knowledge Graph Construction: Building and maintaining knowledge graphs
- Semantic Retrieval: Query-based document retrieval enhanced with graph context
Key Benefits
- Knowledge Graph Intelligence: Leverages extracted entities and relationships for deeper understanding
- Semantic Context: Provides rich contextual information beyond traditional keyword matching
- Relationship Discovery: Automatically identifies connections between concepts and entities
- Scalable Knowledge: Efficiently handles large-scale knowledge graph construction and querying
Available Endpoints
Endpoint | Method | Purpose | Documentation |
---|---|---|---|
List Graph RAG Nodes | GET | Retrieve all graph RAG nodes from a flow | 📄 List Documentation |
Update Graph RAG Configuration | PATCH | Modify graph RAG node settings | 🔧 Update Documentation |
Base URL Structure
Configuration
Graph RAG nodes have a simple configuration approach:Parameter | Type | Default | Description |
---|---|---|---|
topK | integer | null | 5 | Number of top results to retrieve. Set to null for unlimited processing |
Example Configuration
Strategy Selection
Precision Strategy
Configuration:topK: 5-10
- Fast, resource-efficient
- High-relevance entity-based retrieval
- Best for expert systems and real-time applications
Balanced Strategy
Configuration:topK: 12-20
- Good overall performance
- Balanced entity coverage and relationship exploration
- Best for general-purpose knowledge management
Comprehensive Strategy
Configuration:topK: 25-40
- Thorough knowledge graph exploration
- High entity recall with comprehensive relationship coverage
- Best for research platforms and complex domains
Unlimited Strategy
Configuration:topK: null
- Complete knowledge graph analysis
- Maximum entity and relationship coverage
- Best for exhaustive knowledge discovery
Authentication
All endpoints require API token authentication:Generate API tokens through the API Tokens guide.
Response Formats
Success Response
Error Response
Basic Usage Example
Best Practices
- Start with Balanced Strategy: Use
topK: 15
for most applications - Monitor Performance: Track entity extraction quality and processing time
- Regular Reviews: Periodically review and optimize configurations
- Quality First: Prioritize entity and relationship quality over quantity