I haven't been able to get good results for building decks with any of the other models. OpenAI has a variety of different models to choose from, and for this one we are using davinci which is the most advanced but also the slowest. You can do this with the following command, using pip:
To test this out yourself, you'll have to install the OpenAI Python module. Working with GPT-3 in Python using the OpenAI helper library
The Playground also has a cool feature that allows you to grab some Python code you can run, using OpenAI's Python library, for whatever you used the Playground for. Once you have an OpenAI account, you can use the Playground to play around with GPT-3 by typing in text and having it generate more text. At the time I’m writing this, the only way to obtain one is by being accepted into their private beta program. It even has over 40 cards so it seems to be legal with some small exceptions like having two copies of Raigeki, although as someone who hasn't seriously played this game in over 10 years it blows my mind to see that having 3 copies of Sinister Serpent is actually allowed nowadays.Īs mentioned above, this project requires an API key from OpenAI. I don't think that deck would be great for tournament play, but it looks like those are all cards that actually exist. It is a really fun deck to play and is very competitive. I have only lost to backrow and summon negation. I started off with this deck and it has been amazing. The only problem I have with this deck is that it can't handle backrow and summon negation. It has a good match up against water, fire, wind, and dark decks. I have not tested it against Mermail yet. This deck is really strong and has a good match up against most of the meta. Redis, which you can install with the following commands:Ģ x Dekoichi the Battlechanted Locomotiveġ x Elemental Hero Shining Phoenix Enforcer.ngrok to give us a publicly accessible URL to our code.A Twilio account and a Twilio phone number, which you can buy here.A virtual environment enabled before installing any Python libraries.If your operating system does not provide a Python interpreter, you can go to to download an installer.
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.īefore moving on, you'll need the following: This can be used to generate something similar to pretty much any text found on the internet, including in our case Yugioh deck lists. OpenAI's new GPT-3 (Generative Pre-trained Transformer 3) model was trained on a massive corpus of text making it incredibly powerful. What if we could just have a computer do it for us?
The final new card shown in this update was The Agent of Life – Neptune, a level one Fairy monster that lets you easily Special Summon The Agent and Hyperion monsters when it is in your hand, and search for The Sanctuary of the Sky when it is banished.Coming up with a deck in any trading card game is often very difficult, and takes a lot of thought and experimentation. If a copy of The Sanctuary of the Sky is on the field or in the GY, you can activate this effect up to twice per turn.