Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free

GPT-3 posts

  • By Sam Agnew
    Building a Punk Lyrics Bot in Python with OpenAI's GPT-3 and Twilio SMS Copy of Generic Blog Header 1(2).png

    In the midst of pandemic-related lockdowns, many people around the world miss seeing their favorite bands. What if you could bring the anti-authoritarian, do-it-yourself ethos of punk rock home in the form of new song lyrics created by your Python code?

    OpenAI's new GPT-3 (Generative Pre-trained Transformer 3) model was trained on a massive corpus of text making it incredibly powerful. This can be used to generate song lyrics with surprisingly little input text given to it as a prompt.

    Let's walk through how to create a text-message powered bot to write Punk songs in Python using Twilio Programmable Messaging and OpenAI's API for GPT-3.

    STAGE DIVE

    Before moving on, you'll need the following:

    • Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.
    • A virtual environment enabled before installing any Python libraries.
    • A Twilio account and a …
    Read More
  • By Sam Agnew
    Automated Yugioh Deckbuilding in Python with OpenAI's GPT-3 and Twilio SMS Copy of Generic Blog Header 1(1).png

    Coming up with a deck in any trading card game is often very difficult, and takes a lot of thought and experimentation. What if we could just have a computer do it for us?

    OpenAI's new GPT-3 (Generative Pre-trained Transformer 3) model was trained on a massive corpus of text making it incredibly powerful. This can be used to generate something similar to pretty much any text found on the internet, including in our case Yugioh deck lists.

    Let's walk through how to create a text-message powered bot to generate Yugioh deck lists in Python using Twilio Programmable Messaging and OpenAI's API for GPT-3.

    EXODIA THE FORBIDDEN ONE

    Before moving on, you'll need the following:

    • Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.
    • A virtual environment enabled before installing any Python libraries.
    • A Twilio account and a Twilio …
    Read More
  • By Sam Agnew
    Generating Yugioh Fan Fiction with OpenAI's GPT-3 and Twilio SMS Copy of Generic Blog Header 4(2).png

    Fans of all types of media often have fun coming up with alternate stories that take place in the universe of their favorite pieces of fiction. Sometimes, particularly talented writers or artists working on fan fiction even end up being selected to work professionally on the licensed material.

    OpenAI's new GPT-3 (Generative Pre-trained Transformer 3) model was trained on a massive corpus of text making it incredibly powerful. This can be used to generate full dialogue between characters with surprisingly little input text given to it as a prompt.

    Let's walk through how to create a text-message powered bot to generate fan fiction in Python using Twilio Programmable Messaging and OpenAI's API for GPT-3. During quarantine, I've spent a lot of time listening to the soundtrack for Yugioh! The Eternal Duelist Soul because it is great coding music, so let's use the ridiculous universe of the Yugioh anime …

    Read More
  • By Chris Hranj
    Writing Metal Lyrics with OpenAI's GPT-3 Engine, Twilio Functions, and JavaScript header - Writing Metal Lyrics with OpenAI's GPT-3 Engine, Twilio Functions, and JavaScript

    As a musician/songwriter, one thing I find myself struggling with all too often is writing unique, compelling song lyrics. Metal lyrics in particular are especially difficult for me. Writer's block is usually the issue, but even worse is when I come up with a great line to start but nothing to follow it.

    Thanks to OpenAI and their GPT-3 API, this is no longer an issue. Now I can just write a few lines myself and let a trained model write the rest. Is it cheating? Probably. But is it fun? Definitely.

    This post will demonstrate how to use Twilio Functions to assist in writing song lyrics by using OpenAI's GPT-3 engine and their Completion API. Here are a few examples of interesting lyrics I was able to generate using this tool:

    > Cut out the heart of a living man, put it in a box made from the bones …

    Read More
  • By Diane Phan
    Meet Your Personal Michelin Star Chef with OpenAI's GPT-3 Engine, Python, and Twilio WhatsApp API header - Meet Your Personal Michelin Star Chef with OpenAI's GPT-3 Engine and Twilio WhatsApp API

    Being stuck in our own homes for months has given most people the motivation to invest in cookware and learn how to cook or bake by reading articles or watching YouTube videos. However, we all know baking the same loaf of bread 3 times can get old. Wouldn't it be nice to be able to talk to a friend who is actually a famous chef or someone who worked at a Michelin star restaurant? That would be an awesome way to pick up new tips on baking the most scrumptious lemon cake or creamy artichoke soup.

    Using GPT-3 and Twilio WhatsApp API, you have the chance to talk to a Michelin star chef to ask questions on what you should cook next and even unlock a new way to bake a favorite snack such as scones.

    GPT-3 engine generating text about scones

    Follow this tutorial to make your own Chef Bot and figure out how to …

    Read More
  • By Matthew Vielkind
    Build a Cooking Advice Chatbot with Python, GPT-3 and Twilio Autopilot Build a Cooking Advice Chatbot with Python, GPT-3 and Twilio Autopilot

    Everyone has experienced looking up a recipe online then having to scroll through the recipe's back story to reach the end of the page just to find out how to poach chicken. Being an avid cook I began thinking about how a chatbot could take a user request about how to cook a specific food and respond with some quick cooking advice without all the filler.

    One challenge of doing so is generating the advice itself. There are a lot of potential cooking questions users could ask and building that knowledge base is an enormous task. When OpenAI released GPT-3 earlier this summer I began to think how GPT-3 could be leveraged to provide cooking advice for any food users ask about. The result is a chatbot that takes user cooking queries and then relies on OpenAI’s GPT-3 language model to generate the content!

    In this post I will walk …

    Read More
  • By Steve Tingiris
    Build a Telephone Chatbot with GPT-3 and Twilio Autopilot Build a Telephone Chatbot with GPT-3 and Twilio Autopilot

    GPT-3 (Generative Pre-trained Transformer 3) is a highly advanced language model from OpenAI. Its claim to fame is its ability to generate written text that is virtually indistinguishable from human-written text. It’s enjoying a ton of buzz these days, so I thought we could have a little fun with it by creating a GPT-3 powered chatbot that you can talk to over the telephone.

    Below you can hear a short conversation I had with this bot about the Moon:

    Technical Requirements

    To follow along, you’ll need:

    • A free Twilio account. If you use this link to register, you will also receive $10 credit when you upgrade to a paid account.
    • An OpenAI API key. Visit openai.com to request it.

    The Goal

    After completing this tutorial, you’ll have a phone number that you can call to have a conversation with a GPT-3 …

    Read More
  • By Drew Baumann
    Generating Cooking Recipes with OpenAI's GPT-3 and Ruby Generating Cooking Recipes with OpenAI's GPT-3 and Ruby

    I enjoy cooking. When I decide to make a new recipe I typically go hunting for that perfect variation of a dish. Often this leads to food blogs. One of the things about food blogs that I find interesting is the need for the author to write a lengthy backstory on why a given recipe means so much to them. The enthusiasm for their recipes gave me the inspiration to make parody recipes using that same voice. The twist: let artificial intelligence do the heavy lifting.

    Sloppy Joe Waffles:

    What’s better than a sloppy joe? Sloppy joe waffles! These sloppy joe waffles are so so good! They’re almost like a cross between a sloppy joe and a classic waffle. They’re warm, hearty, and just all around delicious food meets breakfast food.

    I’m a bit obsessed with the idea of breakfast for dinner. I love to make breakfast foods and …

    Read More
  • By Miguel Grinberg
    The Ultimate Guide to OpenAI's GPT-3 Language Model The Ultimate Guide to OpenAI's GPT-3 Language Model

    Generative Pre-trained Transformer 3 (GPT-3) is a new language model created by OpenAI that is able to generate written text of such quality that is often difficult to differentiate from text written by a human.

    In this article we will explore how to work with GPT-3 for a variety of use cases from how to use it as a writing assistant to building a highly sophisticated chatbot. By the end you’ll know how to program GPT-3 to chat with you about your favorite topics. Here is an example short conversation I had with the bot about Python and web development.

    GPT-3 chat demo

    How good is it, really?

    Do you find it hard to believe that GPT-3 can generate text that is virtually indistinguishable from what a human writer can produce? I’m going to let you judge for yourself with another example.

    The following two paragraphs were generated by the GPT-3 engine to …

    Read More
  • By Miguel Grinberg
    Le guide ultime du modèle de langage GPT-3 d'OpenAI Le guide ultime du modèle de langage GPT-3 d'OpenAI

    Generative Pre-trained Transformer 3 (GPT-3) est un nouveau modèle de langage créé par OpenAI et capable de générer du texte écrit d'une qualité telle qu'il est souvent difficile de le distinguer d'un texte écrit par un humain.

    Dans cet article, nous découvrirons comment travailler avec GPT-3 sur une variété de cas d'usage, de son utilisation comme assistant d'écriture à la construction d'un chatbot très sophistiqué. À la fin de cette lecture, vous saurez comment programmer GPT-3 de sorte qu'il puisse discuter avec vous de vos sujets préférés. Voici un exemple d'une courte conversation que j'ai eue avec le bot sur Python et le développement web.

    Démo du chat GPT-3


    Est-il vraiment aussi bon que ça ?

    Vous avez du mal à croire que le GPT-3 puisse générer du texte quasiment impossible à différencier d'une production humaine ? Voici un autre exemple qui vous permettra de juger par vous-même.

    Les deux paragraphes suivants ont été …

    Read More
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.