All research

2026Published

AI Agent Implementation Using LangGraph for RAG Interaction with Qdrant and Re-Ranking

  • MTI Christian Javier Caldera Sánchez
  • Ing. América Zurisadai Rodríguez Frausto
  • Lic. Diana Fatima Galván López

International Journal, Academia Journals, 2026

Publication details

Presented at
Academia Journals Innovalia 2026 international congress, virtual, 24 and 25 February 2026
Year
2026
Status
Published

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

  1. Graph-based orchestration enables conditional decisions and alternative routes that cannot be efficiently represented by linear flows.

  2. Re-ranking with cross-encoder models (FlashRank/ms-marco-MultiBERT) significantly improves precision over initial k-NN retrieval from Qdrant.

  3. System prompt engineering serves as a central mechanism for semantic, ethical, and operational regulation of the language model, preventing hallucinations through source grounding.

  4. 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

  1. Gobierno de México, Secretaría de Salud. Normas Oficiales Mexicanas (NOM). gob.mx/salud.
  2. IBM. Embedding. ibm.com/think/topics/embedding.
  3. IBM. AI Agent Orchestration. ibm.com/think/topics/ai-agent-orchestration.
  4. LangChain. LangGraph Documentation. langchain-ai.github.io/langgraph.
  5. Microsoft. AI Generative Actions - Copilot Studio. learn.microsoft.com.
  6. OpenAI. text-embedding-3-large Model Documentation. platform.openai.com.
  7. OpenRN. Open Resources for Nursing. openrn.pressbooks.pub.
  8. OpenStax. Free Educational Resources. openstax.org.
  9. Qdrant. Vector Database Documentation. qdrant.tech.
  10. Reimers, N. & Gurevych, I. Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks. sbert.net.

Let’s build something that lasts.

I’m not taking new client projects right now, but I’m open to future work. What would you like to talk about?

Recommender systems, RAG or machine learning. Share the question you are working on.

Write to me
© 2026 Christian J. Caldera, Torreón, México