A Tool-Augmented, GPT-4 Chatbot for Real-Time Repository Data Analysis
Abstract
Software repositories contain vast amounts of data on code contributions, bug reports, and project activities, yet this information remains challenging for non-technical stakeholders and developers to access due to limited expertise in querying repositories. To address this, we introduce a novel chatbot architecture leveraging OpenAI's GPT-4 model for automated extraction and analysis of repository data. In contrast, our architecture takes a structured path first by parsing the user's query to extract relevant parameters, then selecting the correct tool to employ based on that analysis, and finally invoking the GPT-4 model to create a highly detailed response. In contrast to previous work based on multi-component systems with embedding models and document retrievers, our architecture inverts the process by relying on prompt engineering and tool selection to fit with the query intent. To validate our approach, we conducted experiments on various question types, including Issues, Pull Requests, Commits, Compound Questions, and General Repository Information, evaluating our target prompts' ability to improve the accuracy of responses from the model. Beyond demonstrating the utility of this architecture to a diverse set of users, our findings suggest that this architecture can make repository data more accessible to technical and non-technical audiences through the production of actionable insights.
Create a lesson
Metadata
- Categories
- cs.AI, cs.SE
Related papers
Explainable Temporal Attention-based Defect Detection For Fillet Joints in Real-Time Gas Metal Arc Welding Based on Multi-modal Data
Shared title terminologycs.AIMobina Mobaraki, Mahyar Asadi, Klaske Van Heusden et al.
GameDojo: Benchmarking Real-Time Interactive Agents in Video Games
Shared title terminologycs.AIKuan Zhang, Zhihao Yang, Yukun Chen et al.
RAFM-SER++: A Lightweight Multimodal Emotion Recognition Framework for Real-Time Behavioral Monitoring in Surveillance Systems
Shared title terminologycs.AINgo Truong Dinh, Tung-Lam Bui, Chi-Trung Duong et al.
EmoMed: An Emotionally-Aware Agent for Multimodal Medical Support with Real-Time Information Retrieval
Shared title terminologycs.AIIvan Nasonov, Nikita Glazkov, Ivan Makovetskiy et al.
SAP: State-Guided Data Synthesis with Argument Provenance for Multi-Turn Tool Use
Shared title terminologycs.AIZichen Tian, Jinpeng Chen, Cheng Gong et al.
AgentBrew: Offline Tool-Use Agent Learning from Raw Real-World Trajectories
Shared title terminologycs.AIZhiyi Lyu, Yewen Li, Longtao Zheng et al.