-
公开(公告)号:US20250123812A1
公开(公告)日:2025-04-17
申请号:US18988135
申请日:2024-12-19
Inventor: Yuehao Zhao , Wenjie Li , Chuqing Wang , Yunpeng Peng , Sai Gao , Hui Li , Junwei Xing , Wanpeng Niu , Bingfei Zhang
Abstract: The disclosure provides a code completion method based on a big model. The method includes: determining a first code element where a position to be completed is located in a first code file to be completed; determining a second code file having a dependency relationship with the first code file from a development project to which the first code file belongs; determining, according to the first code element, a second code element whose correlation with the first code element meets a preset condition, in which the second code element belongs to at least one of the first code file or the second code file; and generating a target code corresponding to the position to be completed through a big model based on a signature of the second code element.