arrow
Return

From Prompts to Programs: A RAG-Based Framework for Code Synthesis

delete2026-01-01
delete0
PRE
AI
J
J.P. Nair *
S
Sunil Kumar
DOI:10.1007/978-981-96-7508-1_39delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
The increasing demand for AI-driven solutions in development has encouraged people to conduct various research into generating code from natural language prompts. My paper presents a Retrieval-Augmented Generation (RAG) pipeline for code generation, making use of embedding models, contextual retrieval and advanced language models such as Mistral and CodeLLama. This approach incorporates document indexing and metadata extraction to create context-aware code snippets and at the end of the process, we get a python file with the generated code present in it.
Keywords:
RAG
LLamaCloud
ReActAgent
LLamaParse
VectorStoreIndex
QueryEngineTool
QueryPipeline
Codellama

Journal

S
SMART TRENDS IN COMPUTING AND COMMUNICATIONS, SMARTCOM
IF:
0
Papers:
414
Citations:
0

Organization

M
Manipal University Jaipur
Scholars:
2.3K
Papers: 1.7K
Citations: 1.1K
Cited Papers

Cited Papers

No cited papers available