Installation
Last updated
Last updated
Before you can use the OpenAI Roblox module library in your game, you need to install it. There are three ways to do this:
Download the module from the Roblox library and save it to your computer. Then, open your game in Roblox Studio and drag the file into studio.
2. Insert it from the Library: In your game in Roblox Studio, go to the "Insert" tab and click on the "Module Script" button. In the pop-up window, search for , find the one by DecentAgent and select it to insert it into your game.
3. Insert it from the Command Bar: In your game in Roblox Studio, go to the "View" tab and click on the "Command Bar" button. In the command bar, paste this in:
and press enter to insert the module into your game's ReplicatedStorage.
Once you have installed the OpenAI Roblox module library, you can use its commands by requiring it in your script and calling the various functions available.
HttpService must be enabled to use OpenAI Library.