2026Published
AI Agent Implementation Using LangGraph for RAG Interaction with Qdrant and Re-Ranking
International Journal, Academia Journals, 2026
Cite
@inproceedings{caldera2026rag,
author = {Caldera Sánchez, Christian Javier and Rodríguez Frausto, América Zurisadai and Galván López, Diana Fatima},
title = {{Caso de Estudio de un Sistema RAG con Orquestación Basada en Grafos para la Consulta de Información Normativa en Enfermería: Aplicación en Narvalla}},
booktitle = {Revista Internacional, Academia Journals},
year = {2026},
url = {https://www.academiajournals.com/s/Tomo-06-Ingenierias-Articulos-del-Congreso-Academia-Journals-Innovalia-2026-asfr.pdf},
language = {es}
}Generated from the publication data on this page.
Abstract
This case study presents the implementation of a Retrieval-Augmented Generation (RAG) system with graph-based orchestration for querying nursing regulatory information on the Narvalla platform. RAG systems enable optimized querying of specialized documents through vectorized storage (embeddings) and the use of large language models (LLMs). The selected architecture is graph-based, orchestrating information retrieval, filtering, prioritization, regulatory validation, and response generation tasks. Results show the system can respond to queries consistently, using exclusively official documentary sources while maintaining adequate response times for operational use, thus confirming the viability of RAG systems for specializing and controlling context in content generation, mitigating hallucination risks in sensitive environments like healthcare.
Key findings
Graph-based orchestration enables conditional decisions and alternative routes that cannot be efficiently represented by linear flows.
Re-ranking with cross-encoder models (FlashRank/ms-marco-MultiBERT) significantly improves precision over initial k-NN retrieval from Qdrant.
System prompt engineering serves as a central mechanism for semantic, ethical, and operational regulation of the language model, preventing hallucinations through source grounding.
The system responds consistently using exclusively official documentary sources while maintaining adequate response times for operational use in healthcare.
Techniques & technologies
- RAG
- Qdrant
- LangGraph
- OpenAI
- k-NN Search
- Cross-Encoder Re-Ranking
- FlashRank
- FastAPI
- Docker
- PostgreSQL
- Cosine Similarity
Bibliography
- Gobierno de México, Secretaría de Salud. Normas Oficiales Mexicanas (NOM). gob.mx/salud.
- IBM. Embedding. ibm.com/think/topics/embedding.
- IBM. AI Agent Orchestration. ibm.com/think/topics/ai-agent-orchestration.
- LangChain. LangGraph Documentation. langchain-ai.github.io/langgraph.
- Microsoft. AI Generative Actions - Copilot Studio. learn.microsoft.com.
- OpenAI. text-embedding-3-large Model Documentation. platform.openai.com.
- OpenRN. Open Resources for Nursing. openrn.pressbooks.pub.
- OpenStax. Free Educational Resources. openstax.org.
- Qdrant. Vector Database Documentation. qdrant.tech.
- Reimers, N. & Gurevych, I. Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks. sbert.net.