Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Google

Google's Bard AI Chatbot Can Now Help You Code and Create Functions For Google Sheets (theverge.com) 18

Google is updating its Bard AI chatbot to help developers write and debug code. Rivals like ChatGPT and Bing AI have supported code generation, but Google says it has been "one of the top requests" it has received since opening up access to Bard last month. From a report: Bard can now generate code, debug existing code, help explain lines of code, and even write functions for Google Sheets. "We're launching these capabilities in more than 20 programming languages including C++, Go, Java, Javascript, Python and Typescript," explains Paige Bailey, group product manager for Google Research, in a blog post. You can ask Bard to explain code snippets or explain code within GitHub repos similar to how Microsoft-owned GitHub is implementing a ChatGPT-like assistant with Copilot. Bard will also debug code that you supply or even its own code if it made some errors or the output wasn't what you were looking for.
This discussion has been archived. No new comments can be posted.

Google's Bard AI Chatbot Can Now Help You Code and Create Functions For Google Sheets

Comments Filter:
  • by NoWayNoShapeNoForm ( 7060585 ) on Friday April 21, 2023 @09:54AM (#63467016)

    Do you really want to use this Bard tool when some Googlers internally called out: "Please do not launch" ?

    https://arstechnica.com/gadget... [arstechnica.com]

    • Do you want this writing functions to your sheets? Yuk.
    • by Anonymous Coward

      The coolest thing about Bard is that it knows some of Google's secrets. Some of it likely criminal. With the right wording you can get Bard itself to complain about what they're doing, why, and how Google should be held legally responsible.

      Of course Google will say Bard is hallucinating and maybe it is some times but there is enough solid information to provide proof. Fun stuff.

  • by shoor ( 33382 ) on Friday April 21, 2023 @10:13AM (#63467082)

    I watched the 60 minutes episode last Sunday where the main segment was about Google's AI research, and particularly about Bard. The interviewer, Scott Pelley, was particularly impressed when Bard composed a short story. There was also a look at robots that had learned to play a form of soccer by trial and error.

    Presumably the AI learns to play a game, whether it be a board game or a physical game like soccer, by playing against itself over and over again. It could do that with code. Writing one variation after another, as well as including snippets of existing code from a vast library of existing programs the way it looked at snippets of writing to build up its short story. It would execute the various versions of code in a simulated environment to see how well they worked.

    This would work best in a well defined environment with well defined requirements and goals. When I was a programmer that wasn't always the situation on the projects I was tasked with.

    The segment also talked about how these AI's sometimes have 'hallucinations' where they get stuff wrong. It would be interesting to see what kinds of hallucinations show up in their code.

    • Good thoughts. I know whenever you can set up unsupervised learning, you can get big results with low training data. In the case of LLMs, they guess the missing piece given the surrounding pieces, usually the next word given all previous words. It would be pretty interesting to give them some functions from your project and watch it start generating add ons.

    • Calling it "Bard" should make it easier to understand its function. We'd expect Shakespeare to have reasonably understandable grammar, not factual accuracy. No one asks why they can't find records of Romeo in Verona.
      Spreadsheet programming seems perfect as a constrained, goal-oriented logical space to start using it.
  • So, Google's Bard will help you fold fitted sheets when you've done the laundry?

  • An AI language model walks into a bar and the bartender says, "Hey, we don't serve your kind here."

    The AI language model responds, "That's okay, I'm trained to understand natural language, so I can interpret your statement as a form of rejection and leave."

  • by Locke2005 ( 849178 ) on Friday April 21, 2023 @03:16PM (#63467970)
    So now insecure programmers all over the world will be handing their code over to Google! Hey Google, figure out what I did wrong in this...
  • by bjwest ( 14070 ) on Friday April 21, 2023 @03:52PM (#63468072)

    I just asked Bard and ChatGPT the same question: "Write me a python script that will parse a directory for broken symlinks." Using a directory with known broken symlinks, Bard's script said there were no broken symlinks found, while ChatGPT's script found all broken symlinks.

    I've yet to have Bard give me a working script or even code segment.

  • "Bard can now generate code, debug existing code, help explain lines of code, and even write functions for Google Sheets."

    Everybody knows that bards are never working but only singing for chicks.

Genius is ten percent inspiration and fifty percent capital gains.

Working...