RAG Query
Category: Agent Standards: HIPAA · Medical knowledge standards
Retrieval-Augmented Generation for medical knowledge Q&A
What this node does
- Vector DB retrieval
- Medical knowledge base
- Source citation
- Multi-hop reasoning
How to use
- In the Hydra Builder, open or create a workflow
- In the node palette on the left, find RAG Query under the Agent category (or use the search bar)
- Drag the node onto the canvas
- Double-click the node to open its configuration dialog
- Fill in the required parameters (see Configuration below)
- Connect the Query Text input port from an upstream node
- Optionally connect the Knowledge Base ID port if needed
- Connect the Generated Answer and Source Documents output to the next node downstream
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| Query Text | text | ✓ | Plain text string |
| Knowledge Base ID | text | Optional | Plain text string |
Outputs
| Port | Type | Description |
|---|---|---|
| Generated Answer | text | Plain text string |
| Source Documents | array | A list of items |
Configuration
Open the configuration dialog by double-clicking the RAG Query node on the canvas.
| Parameter | What to enter |
|---|---|
knowledgeBase | Configure knowledgeBase in the node settings |
topK | Configure topK in the node settings |
llmConfig | Configure llmConfig in the node settings |
includeSources | Configure includeSources in the node settings |
When to use this node
- Medical Q&A
- Clinical knowledge lookup
- Evidence retrieval
Need help configuring this node?
Go to Settings → Connectors to set up the connection this node depends on, then reference the connector ID in the node configuration dialog.