I was added to the Github Copilot preview in the past days, and the first thing I tested out was code suggestions around Wikidata.
Copilot allows you to start writing code, and have a model trained on public Github code suggest block of code that you might want to use.
For example, if you start defining a method called onePlusOne then it might suggest the body return 1+1;.
function onePlusOne() {
return 1 + 1;
}Code language: JavaScript (javascript)
More targeted toward Wikidata, if you start defining a function called whatIsWikidata then it might suggest return "Wikidata";
function whatIsWikidata(){
return "Wikidata";
}Code language: JavaScript (javascript)
In some cases copilot suggests multiple code blocks. Some of these seem useful, others less so.


