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

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.
View on arXivComments on this paper