Integrate AI Engine (ChatGPT) into your PrestaShop store to generate SEO friendly and high-quality content. Automatically generate content based on prompts for products, category, and CMS pages.
Create catchy descriptions for your products and categories with just a click. Optimize your search engine rankings and attract more visitors to your online store by automatically adding meta data to your product, categories, and CMS pages.
PrestaShop AI Engine (ChatGPT) will save your time and effort as you no longer need to add content manually.
Note: AI Engine (ChatGPT) module is compatible with PrestaShop version 8.x.x and multi-store feature.
Features of Prestashop AI Engine (ChatGPT)
- Easily create descriptions for products, categories, brands, suppliers, and CMS pages with AI.
- Connect your PrestaShop store with GPT-4, GPT-3.5, or GPT-3 using the API key.
- Built-in prompt templates to generate SEO friendly and high quality content in your PrestaShop store.
- Generate content using custom prompt templates.
- Create prompt templates for products, categories, brands, suppliers, and CMS pages.
- Create descriptions for products and categories with just a single click.
- Create content for brands and suppliers.
- Add meta titles, descriptions, and keywords for products, categories, and CMS pages using AI.
- Keep track of OpenAI usage with token usage and approximated cost.
How to Install Prestashop AI Engine (ChatGPT)
- Firstly, go to the module manager in the back office and click on ‘upload a module’.
- After that, drag and drop the module file or select the file from the system.
- In this way, the module installation will be successful.
After the successful installation of the module, two new tabs i.e. configuration and prompt templates get available in the back office.
now. Find out More
A prompt is an instruction sent to ChatGPT for generating content. ChatGPT generates response based on prompt.
Post installation, few prompt templates gets added to the back office by default. Also, you can add custom prompt templates for product, category, brand, supplier, and CMS. Click on ‘Add new’ button for adding a custom prompt template.
On clicking the button, a form appears on the page with following options:
- Category: Here, you need to select for which you want to create custom prompt template.
- Status: Enable or disable the prompt template.
- Title: Set the title for identification of the prompt template.
- Description: Enter the description based on which ChatGPT will generate content.
Also, you can select that will placeholders for description.
Once added, you can view it under Prompt templates.
Prestashop AI Engine (ChatGPT) Configuration
OpenAI API Key: Specify API key that you obtained from OpenAI account.
Generate AI content on one click: Enable this to generate content using default prompt templates.
Under default templates, you can select the default prompt templates for the fields of product, category, brand, supplier, and CMS pages. Based on the selected prompt template, ChatGPT will generate content for the respective field.
How to get OpenAI API Key
To obtain the OpenAI API key, you need to login to your OpenAI account.
Once you have logged in, click on View API keys button.
Now, click on Create new secret key button to generate a new key.
AI autofill Content
Preferred AI model
Select the model for AI content.
Maximum tokens in AI content
In this field, you can set the maximum tokens to restrict the response of AI model. Content will be filled in the description/summary tabs based on the tokens you have set.
Presence penalty aims to reduce the repetition of token. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model’s likelihood to talk about new topics. It is always a number between -2.0 and 2.0 (default 0).
Frequency penalty controls how much the model should favour less frequent words. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model’s likelihood to repeat the same line verbatim. It is always a number between -2.0 and 2.0 (default 0).
Temperature is a parameter that controls the randomness of generated text. A higher temperature results in more diverse and creative output, while a lower temperature makes the output more deterministic and focussed.
Top P is a parameter that is used to control the range of tokens considered by the AI model based on their cumulative probability. By adjusting the top_p value, you can influence the AI model’s token selection, making it more focused or diverse. It is always a number between 0 and 1 (default 1).
Auto-fill Content for Entities
‘If Generate AI content on one click’ is disabled
A button ‘Fill description” gets available with Summary and Description fields.
On clicking the button, a popup appears on the page where you can select the prompt template.
Based on the selected prompt template, AI will generate content.
Also, you can write a custom prompt message and generate summary based on the message. Select ‘custom prompt message’ in the dropdown list and enter message in ‘prompt message’ field.
‘If Generate AI content on one click’ is enabled
Enable the field under API to generate AI content using default prompt templates in just one click.
Click on the button to fill the content. The AI will auto-fill summary and description based on the selected prompt template. Also, you can change the prompt template from the product page.
Simply click on the settings button alongside fill description button. You will be redirected to default prompt tab where you can change the prompt template.
Similarly, you can auto-fill the content for categories, brands, suppliers, and CMS Pages.
Auto-fill Content for Brands
Auto-fill Content for Suppliers
Under the Statistics tab, you can view the number of tokens used by the AI model.
This was all about Prestashop AI Engine (ChatGPT) Module. I hope this document will help you in checking the functionality of the module in a better way. Also, do let us know about your views in the comments.
Current Product Version - 1.1.0
Supported Framework Version - 8.x.x, 1.7.x.x