2025/06/25 by Xinye Tang, Haijun Zhai, Tang, Xinye +8 · 3 citations
Computer Science · #Artificial Intelligence (cs.AI) #Context-Aware Activity Recognition Systems #Data Stream Mining Techniques #Expert system #FOS: Computer and information sciences #Knowledge base #Process (computing) #Quality (philosophy) #Rank (graph theory) #Ranking (information retrieval) #Recommender Systems and Techniques #Recommender system
paper · pdf · doi:10.48550/arxiv.2506.20815
published in arXiv (Cornell University) (Cornell University)
openalex publication_date 2025/06/25 · openalex created_date 2025/10/15 · openalex updated_date 2026/08/05
LLM-powered applications are highly susceptible to the quality of user prompts, and crafting high-quality prompts can often be challenging especially for domain-specific applications. This paper presents a novel dynamic context-aware prompt recommendation system for domain-specific AI applications. Our solution combines contextual query analysis, retrieval-augmented knowledge grounding, hierarchical skill organization, and adaptive skill ranking to generate relevant and actionable prompt suggestions. The system leverages behavioral telemetry and a two-stage hierarchical reasoning process to dynamically select and rank relevant skills, and synthesizes prompts using both predefined and adaptive templates enhanced with few-shot learning. Experiments on real-world datasets demonstrate that our approach achieves high usefulness and relevance, as validated by both automated and expert evaluations.