RAILS: Retrieval-Augmented Intelligence for Learning Software Development

Wali Mohammad Abdullah, Md. Morshedul Islam, Devraj Parmar, Happy Hasmukhbhai Patel, Sindhuja Prabhakaran +1 more
6/28/2025
cs.SEcs.AI
rag

No confident code implementation found for this paper.

Abstract

Large Language Models (LLMs) like GPT-3.5-Turbo are increasingly used to assist software development, yet they often produce incomplete code or incorrect imports, especially when lacking access to external or project-specific documentation. We introduce RAILS (Retrieval-Augmented Intelligence for Learning Software Development), a framework that augments LLM prompts with semantically retrieved context from curated Java resources using FAISS and OpenAI embeddings.

Show full abstract

RAILS incorporates an iterative validation loop guided by compiler feedback to refine suggestions. We evaluated RAILS on 78 real-world Java import error cases spanning standard libraries, GUI APIs, external tools, and custom utilities. Despite using the same LLM, RAILS outperforms baseline prompting by preserving intent, avoiding hallucinations, and surfacing correct imports even when libraries are unavailable locally. Future work will integrate symbolic filtering via PostgreSQL and extend support to other languages and IDEs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{abdullah2025rails,
  title  = {RAILS: Retrieval-Augmented Intelligence for Learning Software Development},
  author = {Wali Mohammad Abdullah and Md. Morshedul Islam and Devraj Parmar and Happy Hasmukhbhai Patel and Sindhuja Prabhakaran and Baidya Saha},
  year   = {2025},
  eprint = {2506.22742},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.22742v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.22742.svg)](https://codeofpaper.com/paper/2506.22742)

Discussion