Cadastre-se agora para um orçamento mais personalizado!

I confused Google's most advanced AI - but don't laugh because programming is hard

Feb, 22, 2024 Hi-network.com
confused-devgettyimages-1560259012
skynesher/Getty Images

Care to have some fun? Fun at Google's expense? And when I say fun, I mean fun in, well, a morbid fascination, what-were-they-thinking, I'm-glad-I'm-not-the-product-manager kind of way?

Our story begins with a Gemini Advanced release notes update published by Google on Tuesday. It talks about a new inline editor for the programming language Python:

release-notes
Screenshot by David Gewirtz/

What we're going to focus on is the word "now" in the phrase, "you can now edit and run Python code snippets directly." This seemed cool, so earlier today I set out to test it out in order to report back to you about this cool new feature.

Also: What is Google's Gemini AI tool? Everything you need to know

Only...not so much.

Signing up for Gemini Advanced

Just a quick recap. Google's version of ChatGPT (its generative AI) was called Bard and is now called Gemini Advanced. What Gemini is to ChatGPT, Gemini Advanced is to ChatGPT Plus, including the$20/month fee. I went ahead and signed up for Gemini Advanced, adding it to my collection of monthly AI-related bills.

Also: You can try Google's new 'AI Premium Plan' for free. Here's how

signup
Screenshot by David Gewirtz/

Gemini Advanced adds a bunch of new features. Note the highlighted line below:

advanced
Screenshot by David Gewirtz/

Yes, it says, "Our most capable AI model." Keep that in mind, along with the word "now" from earlier in this story. Here's what the Gemini Advanced web interface looks like:

web-interface
Screenshot by David Gewirtz/

Trying out Python

I went ahead and pasted in a simple Python script. This one simply creates and outputs the string "hello world" in upper case and sentence case.

python-script
Screenshot by David Gewirtz/

Gemini Advanced first deconstructed my code and gave me a nice little explanation

code-breakdown
Screenshot by David Gewirtz/

It was then kind enough to give me the output of the script. Points to Gemini Advanced. The output was correct.

output
Screenshot by David Gewirtz/

But ask yourself this: Do you see any way to edit that code? Any way to run the code as one might in a traditional code interpreter? No? Neither do I.

The quest for 'you can now edit and run'

Obviously, I'm missing something. 

Now, let me be clear. I'm about to mock. I specifically asked my editor if I had permission to mock, because this is Google and we like Google. I was granted a full release to let loose and mock.

Also: Want to work in AI? How to pivot your career in 5 steps

I'll try to be gentle.

Looking back at the release notes, there was this phrase, "Exclusive to Gemini Advanced, you can now edit and run Python code snippets directly in Gemini's user interface." So, my first question was whether or not I was actually using Gemini's user interface. Here's what I was told.

how-to-find
Screenshot by David Gewirtz/

Notice, next to the arrow, a recommendation to go to https://www.gemini.com. No problem. Of course, Google owns the domain Gemini.com, right? No, they don't.

gemini-com
Screenshot by David Gewirtz/

Gemini.com is a crypto exchange. When I asked Gemini Advanced (which, don't forget, I had to agree to pay an extra$20/month for) how to use Gemini's Python interface, which was promoted in the release notes as "now" available, Gemini pointed me to a crypto site.

That, folks, is what we in the AI business call a hallucination. Oopsie. Yeah, and it gets better.

Also: How I tricked ChatGPT into telling me lies

When I pointed out to Gemini Advanced that it sent me to a crypto site, it apologized for the misdirection. Then it told me it couldn't find the interface. And then it told me that what I was looking for might be internal to Google and might not be publicly accessible.

misdirection
Screenshot by David Gewirtz/

Gemini Advanced then ended that prompt response by asking me where I had originally read about Gemini's ability to process Python scripts. Uh, Google's own release notes. Duh.

source-pointer
Screenshot by David Gewirtz/

By this point, I was feeling a Full-On Grade A Mockportunity forming in the cosmos. I fed Gemini Advanced the URL to its own release notes, and got this:

polluxed-up
Screenshot by David Gewirtz/

I want to point out some fun Gemini phrases (in italics below):

  • Again with:"It seems like Google's Gemini interface and features are indeed still under development and might not have a public release just yet."
  • "Here's what we can infer from that updates page."What we can infer?
  • When talking about Gemini Advanced with Ultra 1.0:"This suggests a tiered subscription model." Suggests? As if Google hasn't been banging the drums on Ultra 1.0
  • "The feature might not be live yet: The code editing capability might be in development or only available internally at Google." That's fine, had Google not advertised availability "now" on its updates page.
  • Now, here's the best:"Keep an eye on the updates page: That page (https://gemini.google.com/updates) is the best place to get notified when this feature becomes available."That's the page where I got the information, that I just fed into Gemini Advanced to get more information.

From Bard to baffled

So, where does that leave us? Instead of an article showing off how you could dynamically edit Python inside of Gemini Advanced, you got this little romp through the verdant fields of "what else can possibly go wrong?"

Also: How Google's AI helped me fix a Gmail technical problem

The feature in question shouldn't be all that difficult to implement. Inline editors and interpreters have been found in coding environments for decades. Linking one into the Google Advanced interface should just not be that hard, even if there's a need to pass some text between the interpreter and the AI.

To be fair, product and feature releases are challenging, especially for a company the size of Google. A tremendous amount of coordination needs to happen. Many teams and constituencies are involved. Everything has to go off with clockwork precision.

Also: How to take the mystery out of managing multiple projects successfully

As you can see here, this does not always happen -- even if the company is Google. I'm sure the inline edit and test feature for Python will show up eventually. When it does, we'll test it out. In fact, the company has announced that Gemini 1.5 (Gemini Advanced currently uses Gemini 1.0) is now in early testing. When that's available, we'll test it, too.

In the meantime, I'm going to hoist a mug of gloriously hot coffee to the Gemini Advanced marketing and engineering teams. "Here's to you! It'll go better next time."

What about you? Have you tried Bard, Gemini, or Gemini Advanced? Have you signed up for either the added cost ChatGPT Plus or the Gemini Advanced subscription? What has your experience been? Are you looking forward to inline Python editing? Let us know in the comments below.


You can follow my day-to-day project updates on social media. Be sure to subscribe to my weekly update newsletter on Substack, and follow me on Twitter at @DavidGewirtz, on Facebook at Facebook.com/DavidGewirtz, on Instagram at Instagram.com/DavidGewirtz, and on YouTube at YouTube.com/DavidGewirtzTV.

tag-icon Tags quentes : Inovação

Copyright © 2014-2024 Hi-Network.com | HAILIAN TECHNOLOGY CO., LIMITED | All Rights Reserved.