Building Your Own ChatAI with GPT Foundations

Building Your Own ChatAI with GPT Foundations

Brian Lv13

Building Your Own ChatAI with GPT Foundations

Since ChatGPT launched in November 2022, we’ve always wanted to fine-tune it into a custom AI built for a single purpose. Now, OpenAI has heard our calls and launched “Create a GPT,” a ChatGPT Plus tool you can use to create your own version of ChatGPT.

MUO VIDEO OF THE DAY

SCROLL TO CONTINUE WITH CONTENT

Even though this is the first version of the GPT Builder, it’s a very promising premise. It’s chock-full of capabilities, has options to share your GPT with the public, and only takes a moment to spin up your custom GPT.

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

1. Access Create a GPT from My GPTs

The first thing you need to do is subscribe to ChatGPT Plus if you haven’t already. You should find the button to do so in the left-side menu of the ChatGPT interface. Once you’ve paid the $20 fee, follow the instructions below:

  1. Click Explore on the left-side menu. This should bring you to a My GPTs page that contains OpenAI’s custom GPT versions .
    My GPTs in the Explore tab of ChatGPT
  2. Choose Create a GPT to open the GPT Builder’s interface.

At the time of writing, “Create a GPT” is still in beta. This means not all features are fully online, and the product isn’t finished. Bear this in mind while building your GPT and prepare to encounter issues. Also, it’s possible that your finished GPT may be erased when a future update comes knocking.

2. Give Your GPT a Primary Description and a Picture

For the sake of this piece, we’ll be demonstrating how to build a Dungeons and Dragons 5th Edition dungeon master.

  1. Now that you’re in the GPT Builder, the first question you’ll get is what you want to make. You can keep this first part short and sweet and input a single sentence. In this case, we said, “Make a Dungeons & Dragons 5e dungeon master who oversees D&D campaigns.”
    Primary description for a D&D GPT in GPT builder
  2. Next, give your GPT a name. ChatGPT will suggest one for you, but you can still type in anything you want.
  3. Once you give your GPT a name, it’ll automatically create a profile picture as the next step. Thanks to ChatGPT’s DALL-E integration, the images are typically pretty good. Ask it to regenerate more images if you’re not happy with it. You can prompt it to create the exact image you want with some guidance.
    Generating a profile picture for a D&D 5e dungeon master GPT

You can manually change the image, name, description, and instructions for your GPT by clicking Configure. Click the profile picture to change it, and edit the details in the Name Description and Instructions fields to change them without typing prompts.

3. Establish a Tone and Rules for Your GPT

At this stage, your GPT wants to know how it should address users. Direct it to the tone and style you want it to adopt. Here, we said, “5e Dungeon Master should use a wise, sagely tone. Use language and style commonly used in high-fantasy settings,” which fits quite nicely into the fantasy nature of D&D.

GPT Builder setting the tone and language for The 5e Dungeon Master GPT

But, of course, if you are making a more professional GPT, ensure it uses professional language.

Now that your custom GPT has a tone, you should tell it how to behave. In our case, we want child-friendly Dungeons & Dragons campaigns that conform to PG-rated themes. We also let it have an inquisitive approach to understanding the player’s actions instead of assuming what the player would do.

For a more wholesome grasp of the rules, you can open a new ChatGPT tab on your browser and research rules for your GPT. When finished, compile them into a notes app, number them, and paste them into the GPT Builder.

It’s impossible to know how effective the rules you’ve established are without testing them in the playground on the right. Make prompts for breaking the rules and see if your GPT will prevent that from happening. This part of your GPT-making process will involve fine-tuning and testing.

For instance, The 5e Dungeon Master is supposed to strictly follow the rules of the D&D guidebook (PHB). Our test below shows how it prevents a payer from maxing out their stats and playing a potentially overpowered non-PHB race.

GPT Dungeon Master giving information on how to build a character

If you find that it’s not fulfilling your instructions as well as you want, go back to the Create tab and give it further instructions. But remember that new instructions mean you’ve effectively created a new version of your GPT.

4. Upload Files as a Knowledge Base

In addition to backing up your GPT with rules, you can also upload files you would like your GPT to draw information from. In our case, we uploaded copies of the Player’s Handbook by Jeremy Crawford and the Dungeon Master’s Guide. Both are essential D&D books.

Here’s how to upload source documents to your custom GPT:

  1. While in GPT Builder, click Configure.
  2. Scroll down to the section titled Knowledge.
  3. Click Upload files and add files from your computer.
    GPT Knowledge source documents uploading in GPT Builder

Wait for it to finish uploading, and you’ll have the documents as a knowledge base for your GPT.

If, for instance, you were trying to make a GPT that is an expert in Florida tax laws, you would get all the Florida tax legal documents you can find and upload them here to form a knowledge base your GPT can work with.

5. Add or Remove Capabilities

With ChatGPT Plus, you get a truly enhanced AI experience . These additional features include web browsing, a code interpreter, and DALL-E 3 integration. Better still, your custom-built GPT also enjoys all of these features. However, the GPT Builder gives you the option to add or remove functionalities you don’t need.

All of these are enabled by default; in our example, we need all three. DALL-E 3 can create images of your characters and game scenes, the code interpreter helps it understand documents and character sheets you might upload, and you might need web-browsing to search up some general current facts.

However, a GPT like our hypothetical Florida tax lawyer may not need image creation functionality, and it might just be another useless feature.

With that in mind, here’s how to tweak your GPT’s capabilities:

  1. Click Configure and scroll to Capabilities.
  2. Toggle Web Browsing, DALL-E Image Generation, and Code Interpreter on or off.
    Capabilites in GPT Builder's settings

6. Add APIs for Third-Party Services

For those interested in using APIs to access other third-party services in their GPTs, you’ll be happy to know that it’s possible.

  1. Go to Configure in GPT Builder.
  2. Click Add actions.
  3. Copy and paste your OpenAPI schema into the input box.
  4. Optional: Scroll down and enter an authentication method and privacy policy.
  5. Testing weather API example in GPT Builder

Go back when you’re finished.

If you don’t enter a valid privacy policy, you won’t be allowed to share your GPT with the public.

Currently, you seem to be able to add only one action at a time. If you click the Examples dropdown menu, you’ll see a few examples of schemas OpenAI has added to aid in creating your own schema.

7. Configure Conversation Starters

Now that you’ve gotten most of the GPT building out of the way, you can add or remove conversation starters. They help you and others using your GPT to get into the flow of things.

  1. Click Configure and scroll to Conversation starters. You’ll notice that the AI automatically generates four of these.
  2. Go to the last empty field and type in a prompt to add a new conversation starter.
  3. Click the X next to a conversation starter block to remove it.
    Configuring conversation starters in GPT builder

You can add more conversation starters as required.

8. Save and Publish Your GPT

In the future, we expect OpenAI will create a community marketplace for custom GPTs. But while a framework for it is in the works, it’s not yet available. Still, you can save your GPT and view your builder profile by clicking the Save dropdown menu in the top-right corner.

Share dropdown menu in GPT Builder

While it won’t make any difference, for now, you can choose whether you’d like to publish to the public, via links, or only to yourself. None of the sharing options work, by the way. We have to wait for an update. But, if you want friends to use your AI, return to ChatGPT’s home, open the GPT’s chat, and copy the URL in your browser’s address bar.

If you click the pencil icon in the share menu, you’ll enter your builder profile, where you can change your GPT and profile options when this feature is fully released.

ChatGPT’s Limitations Still Apply to GPT Builder

You might be fooled by OpenAI’s new UI and custom AIs, but don’t forget that its limitations still apply. Fundamentally, it’s still AI and suffers from the fundamental lack of creativity only humans can display.

What’s more, as this technology emerges, OpenAI might struggle to maintain access to its servers with an influx of more users. Its usage cap for GPT-4 still applies, and that might get in the way of testing your custom AI.

SCROLL TO CONTINUE WITH CONTENT

Even though this is the first version of the GPT Builder, it’s a very promising premise. It’s chock-full of capabilities, has options to share your GPT with the public, and only takes a moment to spin up your custom GPT.

Also read:

  • Title: Building Your Own ChatAI with GPT Foundations
  • Author: Brian
  • Created at : 2024-12-12 00:07:36
  • Updated at : 2024-12-12 21:33:07
  • Link: https://tech-savvy.techidaily.com/building-your-own-chatai-with-gpt-foundations/
  • License: This work is licensed under CC BY-NC-SA 4.0.