RETRIEVAL-AUGMENTED CODE COMPLETION
    3.
    发明公开

    公开(公告)号:US20230359441A1

    公开(公告)日:2023-11-09

    申请号:US17740042

    申请日:2022-05-09

    CPC classification number: G06F8/33 G06F40/30 G06N3/0454

    Abstract: A retrieval-augmented code completion system uses the context of a partially-formed source code snippet of a source code program and a hint to predict the source code tokens needed to complete the partially-formed source code snippet. The hint is a source code segment that completes a semantically-similar source code segment of the partially-formed source code snippet. The hint is found in a retrieval source code database using a hybrid retrieval technique. A deep learning decoder model uses the context of the partially-formed source code snippet and the hint to predict the most likely candidate sequence of source code tokens to complete the partially-formed source code snippet.

Patent Agency Ranking