Recent advancements in retrieval-augmented generation have led to a new era in repository-level code completion. However, the indiscriminate use of retrieval poses challenges in efficiency and robustness. This paper introduces a selective RAG framework powered by REPOFORMER, improving performance while reducing latency. Extensive evaluations demonstrate the effectiveness of this approach across various benchmarks and programming languages.
Sang ngôn ngữ khác
từ nội dung nguồn
arxiv.org
Thông tin chi tiết chính được chắt lọc từ
by Di Wu,Wasi U... lúc arxiv.org 03-18-2024
https://arxiv.org/pdf/2403.10059.pdfYêu cầu sâu hơn