3 ms·
I haven’t used Copilot but do its samples give links on where it was from? If so, that seems to be a sufficient funnel back to the OSS repo itself without the c
by alexchantavy 4y ago
I haven’t used Copilot but do its samples give links on where it was from? If so, that seems to be a sufficient funnel back to the OSS repo itself without the community harming aspects mentioned in the article.
- cool-RR 4y agoThey don't. It would be a profoundly difficult problem to find the right links for each suggestion.
- freeqaz 4y agoNot at all. There isn't even a way to get the "source" if you wanted.
- thamer 4y agoIt doesn't, because that's not how it works. Copilot doesn't recognize what you're trying to do and then paste a code sample from a repo it has in its index. Just like DALL·E 2 doesn't produce images that say "I picked these pixels from this image and this part from this other one and these colors from this third one". When a model is trained, it's effectively a set of hundreds of millions of numbers that when combined in just the right way can produce a specific output. In my experience the vast majority of the time Copilot doesn't write code that already exists. It actually uses the variables you declared, the functions that already exist in your code base, etc. It's not an index of best matches from GitHub for what you're trying to do.