AI-assisted Coding with Cody: Lessons from Context Retrieval and Evaluation for Code Recommendations

Jan Hartman,Rishabh Mehrotra,Hitesh Sagtani,Dominic Cooney,Rafal Gajdulewicz,Beyang Liu,Julie Tibshirani,Quinn Slack
DOI: https://doi.org/10.1145/3640457.3688060
2024-08-10
Abstract:In this work, we discuss a recently popular type of recommender system: an LLM-based coding assistant. Connecting the task of providing code recommendations in multiple formats to traditional RecSys challenges, we outline several similarities and differences due to domain specifics. We emphasize the importance of providing relevant context to an LLM for this use case and discuss lessons learned from context enhancements & offline and online evaluation of such AI-assisted coding systems.
Information Retrieval,Machine Learning,Software Engineering
What problem does this paper attempt to address?