from Hacker News

Copilot-Explorer – See what the Copilot extension sends to the server

by heap_perms on 3/3/24, 4:53 AM with 1 comments

  • by heap_perms on 3/3/24, 5:06 AM

    Reverse Engineering the (client) Github Copilot: It appears to be sending an enormous prompt, considering the 20 most recent files, from which some snippets are extracted:

    > By default, the fixed window Jaccard Matcher is used. This class slices up a given file (from which snippets are to be extracted) into sliding windows of a fixed size. It then computes Jaccard similarity between each window and the reference file (the file you’re typing in).

    Code: https://thakkarparth007.github.io/copilot-explorer/codeviz/t...