What are Smart RAG Nodes?
Smart RAG nodes automatically handle:- Document Processing: Intelligent document ingestion and preparation
 - Chunking: Automated text segmentation with optimal chunk sizes
 - Embedding Generation: Vector embeddings for semantic search
 - Retrieval: Query-based document retrieval with configurable Top K
 - Quality Metrics: Built-in evaluation and performance tracking
 
Available Endpoints
Smart RAG nodes are managed through two primary endpoints:| Endpoint | Method | Purpose | Documentation | 
|---|---|---|---|
| List Smart RAG Nodes | GET | Retrieve all smart RAG nodes from a flow | 📄 List Documentation | 
| Update Smart RAG Configuration | PATCH | Modify smart RAG node settings | 🔧 Update Documentation | 
Base URL Structure
- : Your flow identifier
 - All endpoints require API token authentication
 - Content-Type: 
application/jsonfor update operations 
Node Structure
Smart RAG nodes follow the standard Graphor node structure:Configuration
Smart RAG nodes have a simple configuration:| Parameter | Type | Default | Description | 
|---|---|---|---|
topK | integer | null | 5 | Number of top results to retrieve. Set to null for unlimited processing | 
Configuration Examples
Precision Strategy (Fast, focused results):Authentication
All smart RAG 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 Simple: Begin with 
topK: 10and adjust based on your needs - Monitor Performance: Track processing times and resource usage
 - Test Incrementally: Make small configuration changes and measure impact
 - Enable Metrics: Use built-in metrics to evaluate retrieval quality
 

