RAILS: Retrieval-Augmented Intelligence for Learning Software Development

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Abdullah, Wali Mohammad, Islam, Md. Morshedul, Parmar, Devraj, Patel, Happy Hasmukhbhai, Prabhakaran, Sindhuja, Saha, Baidya
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913916926296064
author Abdullah, Wali Mohammad
Islam, Md. Morshedul
Parmar, Devraj
Patel, Happy Hasmukhbhai
Prabhakaran, Sindhuja
Saha, Baidya
author_facet Abdullah, Wali Mohammad
Islam, Md. Morshedul
Parmar, Devraj
Patel, Happy Hasmukhbhai
Prabhakaran, Sindhuja
Saha, Baidya
contents 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. 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.
format Preprint
id arxiv_https___arxiv_org_abs_2506_22742
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle RAILS: Retrieval-Augmented Intelligence for Learning Software Development
Abdullah, Wali Mohammad
Islam, Md. Morshedul
Parmar, Devraj
Patel, Happy Hasmukhbhai
Prabhakaran, Sindhuja
Saha, Baidya
Software Engineering
Artificial Intelligence
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. 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.
title RAILS: Retrieval-Augmented Intelligence for Learning Software Development
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2506.22742