Artificial Intelligence 8 min read

Step-by-Step Guide to Creating Custom GPTs with Knowledge and Action Plugins

This step‑by‑step tutorial shows how to build a custom nutrition‑analysis GPT—named “Nutri Buddy”—by logging into ChatGPT, creating a GPT, uploading knowledge files, configuring an Action plugin that calls the Boohee food API for calorie, protein and carbohydrate data, and then publishing the assistant with private, link‑only, or public visibility.

Ximalaya Technology Team
Ximalaya Technology Team
Ximalaya Technology Team
Step-by-Step Guide to Creating Custom GPTs with Knowledge and Action Plugins

GPTs are custom versions of ChatGPT that anyone can create without any coding. They can be tailored for daily life, specific tasks, work, or family use, and can be shared with others.

This tutorial provides a complete, hands‑on walkthrough for building a nutrition‑analysis GPT (named “Nutri Buddy”). It starts with logging into the new ChatGPT interface, clicking “Explore”, and selecting “Create a GPT”. The creation process is dialog‑based, allowing you to describe the GPT’s purpose, name, avatar, and actions.

The guide explains how to configure the GPT’s knowledge base by uploading files such as PDFs or Word documents, enabling the model to retrieve professional information from these sources.

It also covers the Action (custom plugin) feature, which lets the GPT call external APIs. As an example, the tutorial shows how to integrate the Boohee food database to retrieve calorie, protein, and carbohydrate information for a given food item, and then generate corresponding exercise suggestions.

Key configuration steps include specifying the URL and description for the API, defining the request schema, and mapping parameters extracted from the search URL. The full OpenAPI JSON configuration for the Action is provided below.

{
  "openapi": "3.1.0",
  "info": {
    "title": " Get Food Nutrition Data ",
    "description": "Retrieves current weather data for a location.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": " https://api.boohee.com"
    }
  ],
  "paths": {
    "/food/search": {
      "get": {
        "description": "Get nutrition information for a specific food item",
        "operationId": "GetFoodNutrition",
        "parameters": [
          {
            "name": "keyword",
            "in": "query",
            "description": " The name of the food item to retrieve nutrition information for ",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {}
  }
}

After configuring the GPT, you can save and publish it with visibility options: private, link‑only, or public (the latter requires domain DNS verification). The article notes that with the upcoming GPT Store, more developers will create and monetize GPTs, turning ChatGPT into a platform for both users and creators.

Knowledge BaseOpenAITutorialAPI IntegrationCustom AIGPT
Ximalaya Technology Team
Written by

Ximalaya Technology Team

Official account of Ximalaya's technology team, sharing distilled technical experience and insights to grow together.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.