AI – it’s all the rage!

It was less than 12 months ago that we had a session looking at the emerging technology of Large Learning Models (LLM) and in particular Chat-GPT and Dall-E from Open AI. In fact it was the meeting we had on the 23rd March, and this was the article I created for that meeting; I also put a slightly different version of it on the public Cardiff u3a website. Sianed and I also debated the topic in September, an experience neither of us would willingly go through again!!!! So with so much having happened in such a short period of time, it certainly seemed right to revisit the topic and see what’s happened.

First some background, some developments and some resources for you to follow-up, then some notes and content from three member contributions. We have Jonathan, Iain and Phil to thank for these.

What do we mean by Artificial Intelligence. Well, nothing that’s really appeared in the past 15 months it would have to be said. Some articles for you to consider …

Race to AI: the origins of artificial intelligence, from Turing to ChatGPT – in this article from The Guardian the background to what is, and what is not, artificial intelligence is explored and whilst recognising that a step-change has occurred, we have not yet reached the “nirvana” of artificial intelligence.

A simple guide to help you understand AI – in this animated webpage from the BBC, you have the “Janet and John” introduction to artificial intelligence. That’s not meant as an insult in any way, it’s a very straightforward introduction to the subject and if you switch the animations on you will get a full-experience.

It is however the Royal Institution’s Christmas Series of Lectures fronted by Mike Wooldridge that perhaps best defines the scope, the possibilities and the future of artificial intelligence. I seriously recommend that you watch all three lectures on BBC’s iPlayer.

Much of the attention in the past year or so has been focussed on LLM and Chat-GPT. Which? attempts to answer the question – “is it safe to use” in this article, but comes up with more questions than answers, but it does a bit of explaining along the way, but actually the best way to find out what Chat-GPT can do, is to try it yourself, which you can do here, after signing-up for an account on the Open AI servers.

Some experiments and experiences. We kicked-off here with Jonathan telling us about his experience of using Microsoft Copilot.

 Microsoft Copilot

Microsoft has released several AI “Copilots” that can complete different tasks for different purposes. 

  1. At a basic level Copilot can be accessed directly through copilot.microsoft.com where it acts as a kind of Bing-ChatGPT. It can answer questions, create text, jokes, poems, songs and images much as we’ve seen in Chat GPT. When providing information it will reference the source material. And also send you on a shopping spree if you wish!
  2. Copilot is now fully integrated into the Bing search engine and Edge browser. Open Edge from the Windows taskbar to bring up the browser. Copilot is the top icon in the vertical tabs on the right. Clicking on it will open a sidebar which looks much like the page we’ve seen above. A different tab will open the AI Image Creator. Copilot in Edge can work with web pages, for instance generating a summary of complex articles. It will work in chat, compose and insight modes. It offers three conversation styles for your own composition – creative, balanced or precise!
  3. Copilot in Windows is currently being rolled out in Windows 11 updates. It can help with a variety of tasks, both relating to your PC’s settings and to generative assistance. For example, Copilot in Windows can turn on your computer’s dark room, organize your windows, write an essay, help you shop, and more with a simple conversational prompt.
  4. Copilot for Microsoft 365 involves the integration of the Copilot AI assistant into Microsoft’s 365 productivity software family.  For example the suite of Microsoft 365 applications, including Word, Excel, PowerPoint, Outlook, and Teams, will be infused with Copilot to optimize workflow, such as generating text and tables in Word, summarizing and drafting emails in Outlook, and generating Python visualizations in Excel. This is clearly a more advanced development of Copilot AI, intended for the business market, currently on offer for £30/month!
  5. There are further business related Copilots for Security, Service and Sales.
  6. All are under continuous development so will no doubt involve rapid change and improvement over time.
  7. Links to some further info are included below.

https://www.zdnet.com/article/what-is-microsoft-copilot-heres-everything-you-need-to-know/

https://uk.pcmag.com/ai/148900/hands-on-with-microsoft-copilot-in-windows-11-your-latest-ai-assistant?v=Jfeh_CdKj8k

https://www.tomsguide.com/how-to/how-to-use-copilot-to-control-windows

Of all the commercial developments in the past year it’s Microsoft that’s led the way, but Google’s working hard to keep-up, first with it’s Bard model, and latterly with it’s Gemini software.

Iain led us through some of the features of Bard and this article indicates the differences between Bard and Chat-GPT. Iain was particularly struck by the way the system seemed to learn from one day to another. An inappropriate response to a question of taking your grandchildren somewhere in Cardiff, had been replaced by a much more acceptable answer. How does this happen? Has it learnt something? Or, is it’s previous answer become part of the resource that it uses to find responses. I guess we’ll never know!!

Since the meeting Iain has also shared with us in the Artificial Intelligence Forum a really interesting and potentially useful use of AI in interpreting scrolls recovered from the eruption of Vesuvius. There are many really useful uses of AI, as the Royal Institution lectures showed us. I aim to add Topics to that Forum over the next few weeks (and months) as they emerge, and I encourage you to do the same.

We then had an illuminating presentation from Phil, that I encourage you to look at.

It starts off with Phil’s interest in Family History and his ancestor’s death from cholera which prompted him to enquire about that epidemic.

He then asked Chat-GPT to write an essay (which he’d had to do in an earlier life) on the topic “Liberal and Utilitarian Educational Thinking in 19th Century Great Britain: A Comprehensive Analysis with Reference to Cardinal Newman”

He felt that the attempt was worth at least a B+

He then shared with us some images created by Image2Go.com not all of which totally hit the brief he’d requested.

In conclusion, I shared a few issues …

Volkswagen says it’s putting ChatGPT in its cars for ‘enriching conversations’ – really? The first recording of a Tesla driver wearing Apple’s Vision Pro headset has already been posted to the internet. Where’s the common sense, in common sense?

A frankly rather surprising Judges in England and Wales are given cautious approval to use AI in writing legal opinions.

A totally unsurprising Britain’s MI6 chief says his spies are using AI to disrupt flow of weapons to Russia.

3 reasons why AIs like Microsoft Copilot and ChatGPT will only get worse — and why it doesn’t have to be this way – a suggestion that as more and more AI-generated content floods the internet, and as more and more reliable content providers stop the “bots” from trawling their sites, that the quality of information on the web will decrease. AI eating itself is a phrase that might come to mind.

Finally a very thought-proking article – AI Needs to Be Both Trusted and Trustworthy – a theme picked-up by Ian (not Iain) on Signal with his reference to the fact that Chinese academics wary of their reputations have moved towards implementing new guidelines to protect the quality of their research.

I’ve put quite a few articles up on Flipboard in the past couple of months. I aim now to move some of them into the Artificial Intelligence Forum on Thought grazing with a brief commentary, and I invite your replies/comments. I think this move indicates that I will be using the Forum more for reference, and Flipboard more for news. I think that makes sense.

ChatGPT, Open AI – Artificial Intelligence

By way of introduction

It all started (for me at least) with this powerful poem sent to me by my son – who lives in Australia …

Do not go gentle into that good land,
Australia, wild and free,
Where golden sun sets on red sands,
And the ocean's voice speaks to me.

Rage, rage against the dying light,
Of the day, and the endless night,
Where the stars shine bright like fireflies,
And the kookaburra's laugh takes flight.

Do not go gentle into that good land,
Where the heat beats down like a drum,
Where the droughts are long and the wildfires grand,
And the rains come in a monsoon.

But do not despair, for in this land,
There is beauty in every plight,
The eucalyptus stands tall and grand,
And the kangaroo bounds with might.

Do not go gentle into that good land,
Australia, wild and free,
Where the spirit of the land is strong,
And the people, a part of its destiny.

Wow, I thought. I never knew he had it in him (being IT-geekish like me). It sounds like it could have been written by Dylan Thomas. He then let on …

“I asked ChatGPT to write a poem in the style of Dylan Thomas about Australia :)”.

That was on January 24th. It opened my eyes to something that was sweeping the internet and which had obviously been developing for many months, if not years. Of course I’d known about the concept of artificial intelligence, but had always imagined it in the context of driverless cars; sensors in rooms (or of any variety); clever games that you might play against, etc. etc. But here was something that seemed – on the surface at least – to have a sentient presence. Something that could think, interpret what you were saying (or writing) and return a result that – on the surface at least – made sense.

He then followed up his magnum opus with this …

Verse 1:
The world spins round, the money flows
The rich get richer, the poor get woes
We're told that we need more and more
To keep up with the Joneses, we're a corporate whore

Chorus:
Materialism, capitalism,
A never-ending cycle of greed and madness
We're slaves to the system, we're just cogs in the wheel
Materialism, capitalism, it's not real

Verse 2:
We're told that happiness comes with a price
We buy and we buy, but it's never enough
We're in a rat race, we're running on a treadmill
We're chasing the dream, but it's just a mirage

Chorus:
Materialism, capitalism,
A never-ending cycle of greed and madness
We're slaves to the system, we're just cogs in the wheel
Materialism, capitalism, it's not real

Bridge:
We're drowning in consumerism, we're losing our souls
We're sacrificing our humanity for shiny gold
We're living in a world of illusion, a world of lies
We're sacrificing our future for temporary highs

Outro:
Materialism, capitalism,
A never-ending cycle of greed and madness
We're slaves to the system, we're just cogs in the wheel
Materialism, capitalism, it's not real.

Double wow!! I knew this time it wasn’t him doing the thinking, but what was the question that the tool he was using had been asked, and what was the song based on? Any guesses?

He replied …

“The song by the way? I asked for a song about materialism and capitalism in the style of Pink Floyd.”

“How do you do that?” … I of course asked …

import socket

# Target IP address
ip = "192.168.1.1"

# Open a text file for writing the results
with open("port_scan_results.txt", "w") as f:

    # Scan for open TCP ports
    for port in range(1, 65535):
        sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
        sock.settimeout(5)
        result = sock.connect_ex((ip, port))
        if result == 0:
            f.write("TCP Port {}: Open\n".format(port))
        sock.close()

    # Scan for open UDP ports
    for port in range(1, 65535):
        sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
        sock.settimeout(5)
        result = sock.connect_ex((ip, port))
        if result == 0:
            f.write("UDP Port {}: Open\n".format(port))
        sock.close()

“There you go. This is a port scanner application.” was his reply. [Please don’t ask me to explain what this is, and how to do it. As I said, he’s an IT person, and far more experienced, qualified and up-to-date than me!!]

To add insult to injury my daughter then added (this was on Signal by the way in our Family chat group) … “Do you not use ChatGPT yet dad ? I could spot the author of that poem a mile off …”

I realised then it was time for me to wake-up!

The journey starts here

I jump forward now to our u3a meeting on 23rd February when I must have mentioned something about ChatGPT. I was delighted that am a member sent me this link to a site that aims to provide you with an itinerary for you to use when visiting a place you don’t know – it’s called Roam Around. Take the time to play with it.

In between, I’d started my journey of discovery, helped a lot by the plethora of articles that had begun to emerge since the New Year.

Microsoft were building OpenAI into their search engine Bing; Google were following suit with their equivalent – Bard. [Where do they get the idea for these names from? Then again where did they get the name Google from?] Here’s a set of links to articles that I read during this time …

December 7th – ChatGPT-style tech brought to Microsoft 365 – the announcement that started the “race” with Google. [I found this one retrospectively.]

January 27th – Some Notes on AI, ChatGPT, and the Photography World – I like the really simple question, and the clear concise answer.

February 2nd – ChatGPT vs Google: Which is Better at Answering Photography Questions? – mind blowing head-to-head contest with Google being outgunned in all 10 questions. Wow, wow, wow!!!

February 2nd – How 5G and AI will work together – a techie article illustrating how the explosion of machine learning, with highly advanced technology will benefit us all in the future. I recommend a quick scan through this article to show how the two technologies working together will improve the performance of a lot of our existing systems.

February 7th – Microsoft integrates ChatGPT into its Bing & Edge products – a huge leap forward, but the early demonstration was beset with some problems. Things are moving fast!

February 10th – The Guardian view on ChatGPT search: exploiting wishful thinking – the grounded (editorial) view, reflecting that we’re a way off yet from the “Brave New World”.

February 10th – Google v Microsoft: who will win the AI chatbot race? – the expose of Google’s rush to match Microsoft’s announcement, and what may happen in the long-run.

March 12th – How to use ChatGPT on Mac – thank goodness; help at last, perhaps I’ll be able to try it out?

March 16th – AI: How ‘freaked out’ should we be? – The BBC enters the commentary on AI – it’s a good read and was worth waiting for.

March 17th – How to Get ChatGPT on Your Apple Watch – it had to happen! Chat to your watch. Beam me up Scotty!

March 17th – GPT-4 has brought a storm of hype and fright – is it marketing froth, or is this a revolution? – the cautionary note. No one should rely on this technology alone just now. Engage brain.

March 21st – Microsoft & OpenAI add AI image creation tool to Bing – we’ll be examining DALL-E in a moment, but here’s the announcement that it’s being integrated into Bing – but there’s a waiting list to get onto the Preview service! Microsoft Bing’s AI Chatbot Can Now Generate Images with DALL-E and Microsoft’s AI-Powered Bing Experience Gains Image Creation Functionality. Everything is moving so fast!

March 21st – ChatGPT watch out: You can now chat to Google Bard – not to be outdone, the Google riposte.

March 21st – Will Google’s rush to join chatbot party with launch of Bard backfire? – sober refection on whether Google is fully up-to-speed on this one, or is trying to rush-to-market.

For further links that may not appear in the list of references above, please pop-over to Thought grazing on Flipboard to see articles – some of the recent ones are about ChatGPT, OpenAI that I’ve curated there.

And so to demonstrations

The starting point has to be ChatGPT, and to use it to ask questions that will get hopefully meaningful answers, or to craft lovely poetry, songs etc. you need to create an account with OpenAI – the company that has created ChatGPT and other AI-like applications. So click on this link, and create an account from the Signup button. After you’ve provided an email address and Password, you will need to go to your email to Verify that email address and then you’re invited to provide some personal information, including a mobile phone number, to which a verification 2FA code will be sent to. Once you’ve done that you will be presented with some information screens …

… and you’re good to go …

… so give it a go.

We then tried out Roam Around for which you don’t need an account. It appears to not provide completely up-to-date information, but it’s an interesting application …

Finally, using the account we’d already setup with OpenAI, we tried DALL-E, using first the request to create an image of Cardiff Bay at sunrise …

… a surrealistic set of images which were only surpassed when we added the text “with Donald Duck present”. I leave other possibilities t to your imagination …

I also was able to use Bing in Microsoft Edge – the featured image at the top of this article shows this – to create similar images. Unlike Google/Bard; the Preview for Bing with OpenAI seems to be more readily available. You may need to download the most recent version of Edge though, and it most probably helps if you’ve got an existing Microsoft account (which I did have).