Skip to main content

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

  1. In the Hydra Builder, open or create a workflow
  2. In the node palette on the left, find RAG Query under the Agent category (or use the search bar)
  3. Drag the node onto the canvas
  4. Double-click the node to open its configuration dialog
  5. Fill in the required parameters (see Configuration below)
  6. Connect the Query Text input port from an upstream node
  7. Optionally connect the Knowledge Base ID port if needed
  8. Connect the Generated Answer and Source Documents output to the next node downstream

Inputs

PortTypeRequiredDescription
Query TexttextPlain text string
Knowledge Base IDtextOptionalPlain text string

Outputs

PortTypeDescription
Generated AnswertextPlain text string
Source DocumentsarrayA list of items

Configuration

Open the configuration dialog by double-clicking the RAG Query node on the canvas.

ParameterWhat to enter
knowledgeBaseConfigure knowledgeBase in the node settings
topKConfigure topK in the node settings
llmConfigConfigure llmConfig in the node settings
includeSourcesConfigure 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.