Purpose

This page has information on how to get started creating your own OpenAI Assistant in ChatGPT. I’ve included details about two potential paths that can be taken, each with its own strengths (💪) and challenges (🧗‍♂️). Before creating your first AI assistant, consider both paths and how each aligns with your goals.

Both paths will require a ChatGPT Plus account to create an assistant. Despite the differences, both paths will result in an AI assistant that leverages retrieval-augmented generation (RAG) techniques to empower your assistant to quickly search through and summarize key information from a knowledge base, reducing hallucinations and giving you control over how your assistant behaves for your learners.

Navigation

Path 1: Create an Assistant in Playground

  • Strengths

    💪 Greatest degree of customization to calibrate responses

    💪 Can be used to architect an assistant for use in custom applications

    💪 Can be embedded into HTML based documents

    💪 Users without a ChatGPT account can use the assistant

  • Challenges

    🧗‍♂️ Adding function calls to external APIs requires a higher level of technical knowledge

    🧗‍♂️ Sharing the assistant with learners requires a web page and basic front end development skills

    🧗‍♂️ File upload and voice control is more challenging to implement

    🧗‍♂️ Assistant owner is billed based on the amount of usage

Path 2: Create an Assistant in ChatGPT Editor

  • Strengths

    💪 No coding skills needed

    💪 Adding and testing function calls to external APIs is simplified

    💪 Can be quickly shared with other ChatGPT Plus users

    💪 Includes learner file upload and voice mode

    💪 Unlimited usage

  • Challenges

    🧗‍♂️ Less options for customization such as model choice and temperature

    🧗‍♂️ Cannot be embedded on a page

    🧗‍♂️ Learners must have a ChatGPT Plus account

Road sign showing a fork in the road and two diverging paths.

Path 1: Create an AI Assistant in Playground

To build your own assistant in Playground:

  1. Sign up or sign into ChatGPT Plus by selecting this link.

  2. Access the OpenAI Playground.

  3. In the left navigation panel, select Assistants.

  4. Enter a Name for your assistant.

  5. Provide your assistant with specific Instructions on what you want it to do and how you want it to respond to you. See example.

  6. Select the Model you wish to use, gpt-4o is currently the most advanced (and cheapest) option from OpenAI that supports RAG.

  7. Enable File search.

  8. Select + Files to choose the files this assistant should use to answer questions and inform its output.

  9. Enter your message to your Assistant.

  10. Select Run to start testing responses.

  11. Iterate on the instructions until you are satisfied with the assistant’s responses.

This path will result in an OpenAI Assistant that his modular and can be built into a custom application or connected to other platforms and tools like Predictable Dialogs. These assistants can be shared with anyone who has to the custom application or front end implementation.

Screenshot of OpenAI Assistant's Playground interface showing a setup for an AI model named "TeachersPET6507-Course" with specific instructions and model settings. The options for 'File search' and 'Code interpreter' tools are visible, along with buttons and input fields for interacting with the model.

Connect AI Assistant to Predictable Dialogs

Now that you have an assistant with instructions and a knowledge base to search from, its time to make that assistant visible to your learners. To do this, you can use a tool called Predictable Dialogs which enables easy embedding of your assistant in a web-based document and tracks conversations user have with your AI Assistant.

Part 1 - Create an OpenAI API Secret key

  1. Navigate to the OpenAI API Key page.

  2. Select Create new secret key.

  3. Name the OpenAI Key.

  4. Select Default Project.

  5. Select Create secret key.

  6. Copy secret key.

  7. Save your secret key in a secure location.

Screenshot of OpenAI's API key management interface with options to create new secret keys. Text emphasizes not sharing API keys publicly.
Screenshot of the form for creating a new secret key, showing fields for name and project, and options for permissions. The 'Create secret key' button is highlighted in green.
Dialog box for saving an API key with copy button and instructions.

Part 2 - Retrieve your OpenAI Assistant ID

  1. Access the OpenAI Playground.

  2. Select your assistant from the drop down menu.

  3. Below the assistant’s name, copy the assistant ID.

    • Example: asst_ozonwVt41ynwB6q78gHjKELl

Screenshot of an AI interface showing a project labeled "TeachersPET-EME6055CurrentTrendsAndIssues" with system instructions for an instructional design assistant. The interface includes navigation on the left with options like Playground, Assistants, and TTS.

Part 3 - Connect to Predictable Dialogs

  1. Sign up or sign into Predicable Dialogs as a free account.

  2. Select Create new agent.

  3. Select OpenAI Assistant v2.

  4. Select Enter new assistant.

  5. Enter one of your OpenAI Secret Keys.

  6. Select Next.

  7. Enter your OpenAI Assistant ID.

  8. Select Next.

  9. Select Next to confirm selected assistant.

  10. In the Install tab, select Copy on the Embed Code for HTML Standard script.

  11. Embed the script code within an HTML based document.

  12. Customize the Theme and Settings to adjust the look and feel of your embedded chat bot.

Path 2: Create an AI Assistant in ChatGPT Editor

This path will result in an OpenAI Assistant that can be shared with other ChatGPT Plus users.

To build your own assistant in ChatGPT Editor:

  1. Sign up or sign into ChatGPT Plus by selecting this link.

  2. Access the OpenAI Playground.

  3. In the left navigation panel, select Assistants.

  4. Enter a Name for your assistant.

  5. Provide your assistant with specific Instructions on what you want it to do and how you want it to respond to you. See example.

  6. Select the Model you wish to use, gpt-4o is currently the most advanced (and cheapest) option from OpenAI that supports RAG.

  7. Enable File search.

  8. Select + Files to choose the files this assistant should use to answer questions and inform its output.

  9. Enter your message to your Assistant.

  10. Select Run to start testing responses.

Screenshot of the OpenAI Playground interface, showing settings for an AI assistant named 'TeachersPET6507-Course'. Sections highlighted include Assistants, Name field, Instructions text box, Model selection 'gpt-4o', File search tool, and message input field with a 'Run' button.

Share an AI Assistant with Others

Now that you have an assistant with instructions and a knowledge base to search from, its time to make that assistant visible to your learners. To do this, you can use a tool called Predictable Dialogs which enables easy embedding of your assistant in a web-based document and tracks conversations user have with your AI Assistant.

Step 1 - Create an OpenAI API Secret key:

  1. Navigate to the OpenAI API Key page.

  2. Select Create new secret key.

  3. Name the OpenAI Key.

  4. Select Default Project.

  5. Select Create secret key.

  6. Copy secret key.

  7. Save your secret key in a secure location.