Reading list Switch to dark mode

    Prestashop AI Engine (ChatGPT) {User- Guide}

    Updated 19 December 2023

    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.
    image-212
    image-213
    image-214

    After the successful installation of the module, two new tabs i.e. configuration and prompt templates get available in the back office.

    Start your headless eCommerce
    now.
    Find out More
    1-16

    Prompt Templates

    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.

    2-17

    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.
    3-16

    Also, you can select that will placeholders for description.

    Once added, you can view it under Prompt templates.

    4-11

    Prestashop AI Engine (ChatGPT) Configuration

    API

    5-10

    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.

    Default 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.

    Product

    6-8

    Category

    7-7

    Brand

    8-6

    Supplier

    9-6

    CMS

    10-5

    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.

    1-13

    Now, click on Create new secret key button to generate a new key.

    2-16

    AI autofill Content

    11-4

    Preferred AI model

    Select the model for AI content.

    12-3

    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

    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

    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

    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

    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

    Products

    ‘If Generate AI content on one click’ is disabled

    13-4

    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.

    15-4

    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.

    23-2

    ‘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.

    17-1

    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.

    Categories

    18-2
    19-2

    Auto-fill Content for Brands

    20-2

    Auto-fill Content for Suppliers

    21-2

    CMS Page

    22-3

    Statistics

    Under the Statistics tab, you can view the number of tokens used by the AI model.

    image-375

    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.

    Support

    For any kind of technical assistance or query, please raise a ticket or send us a mail at [email protected]

    Also, please explore our Prestashop development services and a vast range of quality Prestashop addons.

    Current Product Version - 1.1.0

    Supported Framework Version - 8.x.x, 1.7.x.x

    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content