Instruction Chat GPT AI for CS-cart
Download and install
Download the plugin archive from the Shop Pinta store and save it on your computer.
In the admin panel of your website, select Add-ons (1) > Manage add-ons (2) > CS-Cart (3).
On the Add-ons page, select Manual installation from the list of options.
Next, click the Local button (1).
Upload the plugin archive from your computer (2, 3).
Click the Upload & install button (4).
To configure the plugin, go to the main menu Website (1) > ChatGPT (2).
The plugin page includes:
The API access settings block allows you to activate the API key:
The OpenAI API key field (1) - to enter an API key generated in the OpenAi service.
The Model chat bot block allows you to choose the appropriate chat model since the OpenAI API is based on a diverse set of models with different capabilities and price categories. In addition, you can customize the basic models to a limited extent for specific purposes using the advanced settings.
The Model field (2) - to select the model ID of the chat (the list of models - https://platform.openai.com/docs/models/overview).
The Advanced settings block allows you to select the content generation options:
The Presense_penalty field (3) - to select a value from -2.0 to 2.0. The higher the value of this parameter, the more often new or similar words will be used in the text for repeating options. This can be useful for generating content with high originality and variety but can lead to more errors and inaccuracies in the generated text.
The Temperature field (4) - to select a value from 0 to 2.0. The higher the value of this parameter, the more random and varied the text will be generated. The model will tend to choose less likely words and phrases, which can lead to more original, but sometimes more illogical text.
The Top_p field (5) - to select a value from 0 to 1.0. If you choose a low value for this parameter, the generated text will be more consistent because the model only selects the most likely tokens that fit better with the previous context. However, a value that is too low can cause the generated text to be too rigid and repetitive. And choosing a high value can lead to a decrease in coherence in the generated text.
The Frequency_penalty field (6) - to select a value from -2.0 to 2.0. If the value of this parameter is high, the probability of repetitions in the text will decrease. The smaller the parameter value, the more often the phrases will be repeated, which can lead to unnatural responses.
The ASK CHAT GPT block - to generate the content with the selected settings.
The request field (7) - to enter a request to be sent to Chat GPT. To start generation, click the Enter button.
The field for displaying the generated text. The content generation may take some time.
You can also generate content directly on pages of categories, products, or features.
To do this, go to the main menu Products (1), and select the section you need (2) - Categories, Products, or Features.
For fields of data editing, the Chat GPT block is added, which will help generate the content you need.
In the Ask a Question: field, enter the request to generate text. The text generation may take some time.
In the Write the subject of the picture: field, enter the request to generate images. The image generation may take some time.
Connecting the OpenAI API
Sign up for a Chat GPT if you don't already have one, and create a new API key - https://platform.openai.com/account/api-keys.
For the plugin to work correctly, copy the secret key and add it to the plugin page (the OpenAI API key field).