ae_pipeline_rag
Run a RAG pipeline that fetches, chunks, retrieves, and summarizes RxNav drug terminology in one call to prevent truncated LLM answers.
Instructions
Advanced RAG pipeline for drug terminology analysis. Fetches, extracts, chunks, retrieves and summarizes RxNav drug terminology data in one call to prevent LLM response truncation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drug | No | Drug name to focus the analysis on. Example: 'aspirin', 'metformin' | |
| query | No | Natural language query about drug terminology. Example: 'ATC classification and generic names' | |
| top_k | No | Number of most relevant text chunks to return (1-10) | |
| filters | No | Additional filters for data retrieval | |
| condition | No | Medical condition context for drug classification. Example: 'diabetes', 'cardiovascular' |