UK markets close in 7 hours 12 minutes
  • FTSE 100

    7,075.82
    +13.53 (+0.19%)
     
  • FTSE 250

    22,546.31
    +89.23 (+0.40%)
     
  • AIM

    1,220.14
    -0.87 (-0.07%)
     
  • GBP/EUR

    1.1660
    -0.0028 (-0.24%)
     
  • GBP/USD

    1.3873
    -0.0060 (-0.43%)
     
  • BTC-GBP

    23,294.14
    -893.37 (-3.69%)
     
  • CMC Crypto 200

    773.79
    -76.56 (-9.00%)
     
  • S&P 500

    4,224.79
    +58.34 (+1.40%)
     
  • DOW

    33,876.97
    +586.89 (+1.76%)
     
  • CRUDE OIL

    73.25
    -0.41 (-0.56%)
     
  • GOLD FUTURES

    1,776.50
    -6.40 (-0.36%)
     
  • NIKKEI 225

    28,884.13
    +873.20 (+3.12%)
     
  • HANG SENG

    28,313.18
    -175.82 (-0.62%)
     
  • DAX

    15,565.55
    -37.69 (-0.24%)
     
  • CAC 40

    6,596.44
    -6.10 (-0.09%)
     

Microsoft uses GPT-3 to let you code in natural language

·3-min read

Unlike in other years, this year's Microsoft Build developer conference is not packed with huge surprises -- but there's one announcement that will surely make developers' ears perk up: The company is now using OpenAI's massive GPT-3 natural language model in its no-code/low-code Power Apps service to translate spoken text into code in its recently announced Power Fx language.

Now don't get carried away. You're not going to develop the next TikTok while only using natural language. Instead, what Microsoft is doing here is taking some of the low-code aspects of a tool like Power Apps and using AI to essentially turn those into no-code experiences, too. For now, the focus here is on Power Apps formulas, which despite the low-code nature of the service, is something you'll have to write sooner or later if you want to build an app of any sophistication.

"Using an advanced AI model like this can help our low-code tools become even more widely available to an even bigger audience by truly becoming what we call no code," said Charles Lamanna, corporate vice president for Microsoft’s low-code application platform.

In practice, this looks like the citizen programmer writing "find products where the name starts with 'kids' " -- and Power Apps then rendering that as "Filter(‘BC Orders’ Left(‘Product Name’,4)="Kids")".

Because Microsoft is an investor in OpenAI, it's no surprise the company chose its model to power this experience.

Image Credits: Microsoft

It's important to note that while this makes programming easier, Microsoft itself stresses that users still have to understand the logic of the application they are building. "The features don’t replace the need for a person to understand the code they are implementing but are designed to assist people who are learning the Power Fx programming language and help them choose the right formulas to get the result they need. That can dramatically expand access to more advanced app building and more rapidly train people to use low code tools," the company explains in today's announcement.

To some degree, this isn't all that different from using the natural language query functions that are now available in tools like Excel, PowerBI or Google Sheets. These, too, translate natural language into a formula, after all. GPT-3 is probably a bit more sophisticated than this and capable of understanding more complex queries, but translating natural language into formulas isn't all that new.

The long-term promise here, though, is for tools like this to become smarter over time and be able to handle more complicated programming tasks. But that's a big step up from what is essentially a translation problem, though. More complex queries require more of an understanding of a program as a whole. A formula, for the most part, is a pretty self-contained statement but a similar model that could generate "real" code would have to contend with a lot more context.

These new features will go live in public preview in English to users in North America by the end of June.

read
read
Our goal is to create a safe and engaging place for users to connect over interests and passions. In order to improve our community experience, we are temporarily suspending article commenting