avatarLucianoSphere (Luciano Abriata, PhD)

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

2933

Abstract

3Fv%3D7wY3ZS1Uz-Y&image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F7wY3ZS1Uz-Y%2Fhqdefault.jpg&key=a19fcc184b9711e1b4764040d3dc5c07&type=text%2Fhtml&schema=youtube" allowfullscreen="" frameborder="0" height="480" width="854"> </div> </div> </figure></iframe></div></div></figure><p id="bf10">And here’s the conversation about science fiction movies focused on Mars:</p> <figure id="df87"> <div> <div> <img class="ratio" src="http://placehold.it/16x9"> <iframe class="" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FwH32_nu7z1c%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DwH32_nu7z1c&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FwH32_nu7z1c%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" allowfullscreen="" frameborder="0" height="480" width="854"> </div> </div> </figure></iframe></div></div></figure><h1 id="2ab9">How does this program work?</h1><p id="61dd">I will write a more technical article soon, but for the moment I can give this away: my bot couples a great web library for speech recognition with the speech synthesis web API and with GPT-3 as the main brain that “understands” what the human says and then generates a plausible reply.</p><p id="b996">If you want to know more about GPT-3 while I write the technical article about this bot, check out these articles I wrote:</p><div id="5ba8" class="link-block"> <a href="https://towardsdatascience.com/custom-informed-gpt-3-models-for-your-website-with-very-simple-code-47134b25620b"> <div> <div> <h2>Build custom-informed GPT-3-based chatbots for your website with very simple code</h2> <div><h3>Learn about GPT-3, PHP and JavaScript as you build an online GPT-3 based chatbot specialized in a given topic that you…</h3></div> <div><p>towardsdatascience.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*bSf3JPTuoN6e9ZkpgvlYRw.png)"></div> </div> </div> </a> </div><div id="5cca" class="link-block"> <a href="https://towardsdatascience.com/web-based-chatbot-project-module-2-gpt-3-generated-responses-assisted-with-a-database-for-1ee2a0f4aad4"> <div> <div> <h2>Web-Based Chatbot Project, Module 2: GPT-3-generated responses assisted with a database for…</h2> <div><h3>Second part of this project spanning web programming, math, AI, and more</h3></div> <div><p>towardsdatascience.com</p></div> </div> <div> <div style="backgro

Options

und-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*vf8T4sR58oKQugrG-h7yUQ.png)"></div> </div> </div> </a> </div><div id="8bab" class="link-block"> <a href="https://towardsdatascience.com/gpt-3-like-models-with-extended-training-could-be-the-future-24-7-tutors-for-biology-students-904d2ae7986a"> <div> <div> <h2>GPT-3-like models with extended training could be the future 24/7 tutors for biology students</h2> <div><h3>Despite rather discouraging results for other subjects, GPT-3 turns out quite good at biology, even more so if its…</h3></div> <div><p>towardsdatascience.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*M2sFbHI2Enwq6UVK.png)"></div> </div> </div> </a> </div><h1 id="402a">How to use this bot?</h1><p id="7b1a">First <a href="https://beta.openai.com/account/api-keys">go to OpenAI</a>, create a free account and get an API key for GPT3 with some free credits.</p><p id="0268">Once you have a working API key (you can try it out in OpenAI’s playground web page) go to my web app using the Chrome web browser:</p><div id="c642" class="link-block"> <a href="https://lucianoabriata.altervista.org/tests/gpt-3/TDSgpt3-speechrec-speechsynth.html"> <div> <div> <h2>Talk with a GPT3 bot</h2> <div><h3>Edit description</h3></div> <div><p>lucianoabriata.altervista.org</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/)"></div> </div> </div> </a> </div><p id="ff19">Insert the API key you got from OpenAI (my program doesn’t keep it in my server, so you are safe), and start talking to the bot. It can take some seconds for it to reply, as you saw in the video, so be patient with it!</p><p id="bf3b"><a href="https://www.lucianoabriata.com/"><b><i>www.lucianoabriata.com</i></b></a><i> I write and photoshoot about everything that lies in my broad sphere of interests: nature, science, technology, programming, etc. <a href="https://lucianosphere.medium.com/membership"><b>Become a Medium member</b></a> to access all its stories (affiliate links of the platform for which I get small revenues without cost to you) and <a href="https://lucianosphere.medium.com/subscribe"><b>subscribe to get my new stories</b></a><b> by email</b>. To <b>consult about small jobs</b> check my <a href="https://lucianoabriata.altervista.org/services/index.html"><b>services page here</b></a>. You can <a href="https://lucianoabriata.altervista.org/office/contact.html"><b>contact me here</b></a><b>.</b></i></p></article></body>

Naturally talking with a chatbot that you can try out online too

I wrote a web page that couples GPT-3 with speech recognition and speech synthesis resulting in a quite smart bot with whom you can talk naturally.

I just created a web page-based chatbot that understands what you say and then replies back quite intelligently. It runs on web browsers (best Chrome) in smartphones, tablets and computers.

You don’t believe me? Check out this video on my Twitter account:

Figure created by the author.

You can also watch the full conversation I had with this chatbot in this video I recorded and posted on YouTube:

Not convinced?

I recorded two more conversations: one where GPT3 tells a couple of science jokes and then changes to discuss climate change; and another where we talk about science fiction movies, particularly movies about Mars.

Here’s the conversation that covered a quite interesting exchange about climate change, after a couple of science jokes:

And here’s the conversation about science fiction movies focused on Mars:

How does this program work?

I will write a more technical article soon, but for the moment I can give this away: my bot couples a great web library for speech recognition with the speech synthesis web API and with GPT-3 as the main brain that “understands” what the human says and then generates a plausible reply.

If you want to know more about GPT-3 while I write the technical article about this bot, check out these articles I wrote:

How to use this bot?

First go to OpenAI, create a free account and get an API key for GPT3 with some free credits.

Once you have a working API key (you can try it out in OpenAI’s playground web page) go to my web app using the Chrome web browser:

Insert the API key you got from OpenAI (my program doesn’t keep it in my server, so you are safe), and start talking to the bot. It can take some seconds for it to reply, as you saw in the video, so be patient with it!

www.lucianoabriata.com I write and photoshoot about everything that lies in my broad sphere of interests: nature, science, technology, programming, etc. Become a Medium member to access all its stories (affiliate links of the platform for which I get small revenues without cost to you) and subscribe to get my new stories by email. To consult about small jobs check my services page here. You can contact me here.

Chatbots
Artificial Intelligence
Machine Learning
Science Fiction
Technology
Recommended from ReadMedium