/strapi-supergpt

Integrate ChatGPT into your Strapi application. You get both a UI to interact with ChatGPT and an API end-points to integrate into your applications.

Primary LanguageJavaScriptMIT LicenseMIT

Super GPT Logo

Strapi Supergpt | License: MIT test GitHub package.json version Monthly download on NPM

Integrate ChatGPT into your Strapi application. You get both a UI to interact with ChatGPT and an API end-points to integrate into your applications

chatgpt-overview

ChatGPT plugin for Strapi

OpenAI ChatGPT is an AI chatbot auto-generative system created by Open AI for online customer care. It is a pre-trained generative chat, which makes use of (NLP) Natural Language Processing.

Strapi is the leading open-source headless Content Management System. It’s 100% JavaScript, fully customizable and developer-first.

Overview: Start using ChatGPT in your Strapi application

With this plugin, you can add ChatGPT-powered chatbots and other natural language processing functionality to your Strapi application with ease. The plugin provides a simple interface for configuring and deploying your ChatGPT models, as well as tools

Setting up the plugin is super easy and can be completed within 2 minutes.

  1. Enter your OpenAI API credentials.
  2. Optionally, select the model you want to use.

Thats it! You can now use ChatGPT in your Strapi application.

✨ Features

  1. Easy to use: The plugin is easy to use and can be set up within 10 minutes.
  2. Customizable: You can customize the model's parameters to suit your needs.
  3. Generate Pictures Can generate pictures based on the prompt given.
  4. Use o1-mini you can ulitize o1-mini and can use older models like GPT-4o Turbo.

🖐 Requirements

  1. Node.js version 18 or higher.
  2. Strapi version v4.x or higher.

The ChatGPT plugin is designed for Strapi v4.x. It won't work with Strapi v3.x. working on support for v5.0 when that officially comes out.

⏳ Installation

1. Install the plugin

npm install strapi-supergpt

or

yarn add strapi-supergpt

2. Enable the plugin

Goto <strapi app root>/config/plugins.js Add the following code snippet.

module.exports = ({ env }) => ({
  // ...
  "strapi-supergpt": {
    enabled: true,
  },
});

3. Build and start the Admin UI

Afterwards, you would need to build a fresh package that includes the ChatGPT plugin. For it, please execute the commands below:

npm run build
npm run develop

or

yarn build
yarn develop

The ChatGPT plugin should appear in the Plugins section of the Strapi sidebar after you run the app again.

Now you are ready to integrate ChatGPT on your Strapi website.

🔧 Configuration

You can easily configure the ChatGPT plugin in the Strapi admin panel.

  • Goto Settings -> ChatGPT -> Configuration in the sidebar.
  • On the configiration page, Enter All the fields.
  • Click on Save to save the configuration.

📖 Testing the plugin

  • Click ChatGPT plugin in plugin section of the sidebar.
  • Click on Integration to get sample code integration code.
  • Copy the code and paste it in your terminal.

🌐 Supported Languages

  • Arabic (العربية)
  • German (Deutsch)
  • Spanish (Español)
  • French (Français)
  • Hindi (हिन्दी)
  • Italian (Italiano)
  • Japanese (日本語)
  • Korean (한국어)
  • Polish (Polski)
  • Portuguese (Português)
  • Simplified Chinese (简体中文)

Please note that the translations may vary and are provided by contributors. If you notice any inaccuracies or have suggestions for improvement, feel free to contribute!

📝 License

MIT License