Artificial Intelligence (AI)

Last Update: 5/12/2023

There have been some amazing developments in the field of Artificial Intelligence. These technologies have the potential to change the way we interact with AI. Of the first that we’ll discuss is ChatGPT. Released to the public in Nov. 2022, it does an impressive job of answering questions, generating text and code in a number of programming languages (Python, Java, JavaScript, C++, C#, Go, etc.) It’s language model contains data up until 2021, so it won’t be able to answer questions about more recent events. However, this technology is likely to be disruptive to a number of different industries.

ChatGPT Skill for your Amazon Alexa Echo, Show or Astro – EASY Setup

Video: ChatGPT Skill for your Amazon Alexa Echo, Show or Astro – EASY Setup

In the above video, we’ll setup an Alexa skill that allows using ChatGPT with your Amazon Echo, Dot, Show or Astro Home robot. The setup is very easy, it’s simply a skill that you enable and you can then summons ChatGPT from any Alexa-enabled device.

Additional Links


Add the Skill

 To add the Oracle of Light Skill, you’ll use the Alexa app. and perform the following:

  • Open the Alexa app on your phone/tablet and tap More in the lower-right.
  • Tap Skills & Games, then tap the magnifying glass icon.
  • Search for the skill Oracle of Light, select it and then tap on Enable to Use.
  • Now you can use the commands identified below.

Example Commands

  • Act as a chef, write recipes for a gourmet hamburger that I can make in 30 min.
  • Act as a tutor, please explain the Pythagorean theorem  in an easy to understand way.
  • I have hamburger meat, cheese, noodles and chicken.  Can you recommend a dinner recipe with these ingredients?
  • Create a Childs story for children 8 and younger about a pumpkin with a face, legs and arms that loves to dance in less than 100 words.
  • Write a 50 word essay on the first arcade game.
  • Create a week workout plan for me to build my core muscles.

ChatGPT Introduction [OpenAI]: Disruptive AI Tech that is Amazing

ChatGPT is a natural language processing (NLP) system developed by OpenAI that is already revolutionizing the way we interact with AI. ChatGPT is amazing, a bit scary and may be potentially disruptive to a number of different industries. In this video, we’ll take a quick look at what ChatGPT is and some examples of what it can do. Check out ChatGPT for yourself here. A few examples from this video are below, incase you’re interested in seeing the full text generated.

Video: ChatGPT Introduction [OpenAI]: Disruptive AI Tech that is Amazing

Related

Below are some links for related information on this site:


Country Song Example

Here is the song created by ChatGPT based on the request of “write a country song about a man, a woman and a truck” :

Verse 1: He was a rough and rugged cowboy, she was a city girl so sweet They met one summer in a small town, it was love at first meet He had a beat up truck that he loved more than life She couldn’t help but fall for him, and his Chevy pickup at first sight

Chorus: Riding in that truck, windows down, singing to the stars They knew they were meant to be, behind the wheel of that old car He had a rough exterior, but she saw his heart of gold Together they were unstoppable, in that truck they’d grow old

Verse 2: They’d drive down dusty roads, and watch the sunset fade They’d talk about their dreams, and all the plans they’d made They’d stop at every diner, and try every local brew They were living life to the fullest, in that truck they’d cruise

Chorus: Riding in that truck, windows down, singing to the stars They knew they were meant to be, behind the wheel of that old car He had a rough exterior, but she saw his heart of gold Together they were unstoppable, in that truck they’d grow old

Bridge: They’ve had their share of bumps and scrapes, but they always make it through With that truck as their compass, they’ll always find their way back to each other, true

Chorus: Riding in that truck, windows down, singing to the stars They knew they were meant to be, behind the wheel of that old car He had a rough exterior, but she saw his heart of gold Together they were unstoppable, in that truck they’d grow old

Outro: So if you see a beat up truck, on the side of the road Just know that love is driving, in the heart of that old Chevy code.


Essay Generation

In the video above, I asked ChatGPT to “create an essay explaining how robots will eventually be used in the home to take care of mundane tasks such as doing dishes, laundry, sweeping, mopping, etc.” Below is the text that was generated:

Robots have come a long way in recent years, and the technology is continuing to improve at a rapid pace. One area where robots are likely to have a big impact in the near future is in the home.

One of the most obvious ways that robots will be used in the home is to take care of mundane tasks such as doing dishes, laundry, sweeping, and mopping. These are tasks that are time-consuming and often unpleasant, and many people would be happy to have a robot take care of them.

One of the key advantages of using robots for these tasks is that they can be programmed to work around the clock, meaning that they can get the work done quickly and efficiently. This is especially useful for people who are busy and don’t have a lot of free time to devote to household chores.

Another advantage of robots is that they can be programmed to be very precise and accurate. For example, a robot doing the dishes can be programmed to ensure that every dish is cleaned thoroughly, without missing a single spot. Similarly, a robot doing laundry can be programmed to sort clothes by color and fabric type, and to ensure that each piece of clothing is washed at the right temperature and for the right amount of time.

In addition to being efficient and precise, robots can also be very safe to use. Many robots today come with sensors that allow them to detect obstacles and avoid collisions. This means that they can work alongside people without putting anyone at risk of injury.

Overall, robots have the potential to revolutionize the way we do household chores. They can take care of the most mundane tasks quickly and efficiently, allowing people to spend their time on more enjoyable activities. As technology continues to improve, we can expect to see more and more robots being used in the home in the coming years.


JavaScript Code Generation Example

The following is the Bouncing Ball example created exclusively by ChatGPT. The request made was “create a javascript program to display an image of a ball bouncing on the screen“. I’m adding it here incase you’re interested in following along with this video.

<!DOCTYPE html>
<html>
  <head>
    <style>
      #ball {
        position: absolute;
        width: 50px;
        height: 50px;
        background-color: red;
        border-radius: 50%;
      }
    </style>
  </head>
  <body>
    <div id="ball"></div>
    <script>
      var ball = document.getElementById("ball");
      var x = 0;
      var y = 0;
      var xSpeed = 5;
      var ySpeed = 5;
      function animate() {
        x += xSpeed;
        y += ySpeed;
        if (x + 50 > window.innerWidth || x < 0) {
          xSpeed = -xSpeed;
        }
        if (y + 50 > window.innerHeight || y < 0) {
          ySpeed = -ySpeed;
        }
        ball.style.left = x + "px";
        ball.style.top = y + "px";
        requestAnimationFrame(animate);
      }
      animate();
    </script>
  </body>
</html>


Change Log

  • 20232-05-12 – Minor Edits.
  • 2023-03-16 – Added ChatGPT Skill for Amazon Alexa-enabled devices.
  • 2023-01-27 – Added ChatGPT Introduction.