Introduction
Welcome to the AI Enabler WordPress Plugin guide! This plugin, leveraging the power of GPT API, brings advanced AI functionalities directly to your WordPress site. With AI Enabler, you can create dynamic forms, generate images, and customize your outputs effortlessly based on customer inputs. Whether you’re looking to enhance user interaction or streamline content creation, this plugin has you covered. This guide will walk you through the installation, configuration, and usage of the AI Enabler plugin, ensuring you get the most out of its features.
Installation
- Download the Plugin: Obtain the plugin package from the AI Enabler website or directly from the WordPress Plugin Repository.
- Upload to WordPress:
- Navigate to your WordPress dashboard.
- Go to
Plugins > Add New > Upload Plugin
. - Select the downloaded plugin package and click
Install Now
.
- Activate the Plugin: Once installed, click
Activate
to enable the plugin on your site.
Configuration
API Key Setup
The first step after the installation is to input your OpenAI Key in the settings page. Once that is done, you can start using the plugin. We also suggest configuring other settings such as limits, Image generation model, image input strength (when using stable fusion upload base image), and other settings as required. You can start with the default settings. If you plan to use image generation, please pick the model you require. Currently only StableFusion is supported with base image upload. This allows user to input their image and to use that as a base for their output.
- Access the Admin Panel:
- Go to
Settings > AI Enabler
.
- Go to
- Enter API Key:
- In the API Key Configuration section, enter your GPT API key. If you also use the image generation feature, input your image API key here.
Working with Forms and AI
We offer 3 different prompts which you can use to generate your desired output:
- Text Prompt – Controls the text output, and supports various models and variations (Open AI GPT 4, 3, etc)
- Image Prompt – Controls the Image output
- Audio Prompt – Contros the Audio Output
User Inputs
AI Enabler supports various input types to interact with the AI model:
- Check Box – Tick Box style
- Text Input -Allow the use of open text
- Radio Button – A different form of select)
- Select – Select a from a few options)
- Text Area – allows for more space for text
These inputs can be configured from the form creation interface in your WordPress admin panel.
Drag and Drop Interface
Use the drag-and-drop interface to select the desired input types and AI prompts. Ensure to have a submit button of type “Submit” so the users can submit the data for processing. You can drag fields,
Using Short AI Enabler Codes
The form list interface lists all the forms created with the corresponding short code. Edit, Copy and Delete functions are provide for easy management of forms. To use a form, simply copy the short code and paste in the desired location – page, post or others.
Creating Forms
- Navigate to Form Creation:
- Go to
AI Enabler > Create New Form
.
- Go to
- Add Input Fields:
- Choose the type of input fields you need.
- Customize each field as necessary (e.g., labels, options).
- Form Settings:
- Configure any specific settings like default values, required fields, and placeholders.
- Save and Generate Shortcode:
- Save the form to generate a shortcode. This shortcode can be placed on any page or post where you want the form to appear.
You can navigate to the Form List menu where you can view and edit forms.
Customizing Output
AI Enabler allows for extensive output customization:
- CSS Styling:
- Navigate to
AI Enabler > Output Settings
. - Add custom CSS to style the output as needed.
- Navigate to
- Output Formatting:
- Use the markup language options to format the output text.
- You can parse the output into different cells or sections based on your requirements.
Advanced Features
- Include post/page title in the prompt – allows using generic forms that adapt to the page content (content aware)
- Load response on page load – an initial AI response appears on page load
Image Generation Features
- StableFusion Integration: Allows for image generation directly within forms.
- Limits: Set limits on the number of images generated per IP address.
- HD Images: Options to generate higher resolution images.
Voice Prompts
- Generate MP3: Add a voice prompt to the form to generate audio outputs in MP3 format.
Logs
Head over to the log menu where you can review user queries, including User IP, Open AI model, Tokens, Costs, queries, and responses. Make sure to notify users which information is collected and how it is used in your privacy policy.
Security Measures
- Sanitization: Ensures all inputs and outputs are sanitized to prevent security issues.
- Capability Checks: Only authorized users can perform sensitive operations.
Performance Optimization
- Efficient Database Queries: Optimized to ensure minimal impact on site performance.
- Asset Loading: Scripts and styles are only loaded when necessary to keep the site lightweight.
- Caching: Implements caching mechanisms to improve response times.