Installation

Prerequisites

Make sure your system meets the minimum requirements:

  1. ExpressionEngine 6 or 7

  2. Your server must be running PHP 8.1+

  3. You must have an account with OpenAI.

Installation Instructions

  1. Place the prompt_ai directory with all files inside to /system/user/addons directory.

  2. Go to the add-ons section in your Control Panel and install Prompt AI.

Configuration

Prompt AI uses OpenAI. You must create an account with OpenAI and enter payment details, then generate a secret key.

Within the the config.php folder, which is found /system/users/config/config.php you need to enter your Secret Key. This is the only required config item.

$config['openai_secret_key'] = 'sk-xxxxxx';

You can also set which OpenAi model you would like to use. By default we use 'gpt-4o'.

$config['gpt-model'] = 'gpt-4o';

Last updated