Improving LLM's Response with a New Prompt Framework RCFOR
Abstract
Recent advancements in prompt engineering have significantly enhanced the performance of large language models (LLMs), enabling better adaptation to diverse tasks. While CO-STAR has been widely used for structured prompt optimization, its rigid structure and inefficiencies in handling complex queries limit its flexibility. To address these challenges, we propose RCFOR, a novel framework, which is built on five components: Role, Context, Focus, Objective, and Response designed to enhance adaptability and efficiency in prompt engineering. Inspired by reinforcement learning techniques in few-shot learning and advanced prompt tuning strategies, our method improves generalization across different AI applications. Experimental evaluations using GPT-4o-mini model, on a food dataset demonstrate that RCFOR achieves an accuracy of 0.91, closely matching CO-STAR's performance while offering superior adaptability and efficiency. Our approach aligns with recent advancements in prompt-based model optimization, such as Chain-of-Thought prompting and instruction tuning, further highlighting its potential for broader AI applications. These findings position RCFOR as an effective alternative to CO-STAR, offering enhanced flexibility, improved response accuracy, and dynamic adaptability in complex scenarios.
BibTeX
@misc{pham2025improving,
author = {Tuan Pham and Tuan Nguyen Ngoc},
title = {{Improving LLM's Response with a New Prompt Framework RCFOR}},
year = {2025},
doi = {10.1109/atigb66719.2025.11142192},
}Ask Althea to put this paper to the test.
Loading related content...