arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.05344cs.IRcs.LGcs.SE
收藏

基于Cody的AI辅助编程:代码推荐中上下文检索与评估的经验教训

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

Sourcegraph

Jan Hartman, Rishabh Mehrotra, Hitesh Sagtani, Dominic Cooney, Rafal Gajdulewicz, Beyang Liu, Julie Tibshirani, Quinn Slack

AI总结:

本文以Cody为例探讨基于LLM的编程助手,将其代码推荐任务与传统推荐系统对比,总结上下文检索增强及离线和在线评估的经验教训。

摘要:

在这项工作中,我们讨论了一种近期流行的推荐系统类型:基于大语言模型(LLM)的编程助手。我们将以多种格式提供代码推荐的任务与传统推荐系统(RecSys)挑战联系起来,概述了由于领域特殊性而产生的若干相似之处与差异。我们强调在此用例中为LLM提供相关上下文的重要性,并讨论了从此类AI辅助编程系统的上下文增强以及离线和在线评估中获得的经验教训。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑