Improving LLM's Response with a New Prompt Framework RCFOR
At a glance
- Citations
- 0
- References
- 4
- Comments
- 0
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.
Publication details
- DOI
- 10.1109/atigb66719.2025.11142192
- OpenAlex
- W4414170015
- Document type
- conference-paper
- Language
- EN
- Last metadata update
Comments
Log in to join the discussion.