Magento ChatGPT Integration Module
This Magento module extends the functionality of the Mageplaza Blog module by integrating ChatGPT for post and description generation. With this integration, you can enhance your blog posts by automatically generating relevant and engaging content using ChatGPT's natural language processing capabilities.
Compatibility
Community: 2.1, 2.2, 2.3, 2.4
Enterprise: 2.1, 2.2, 2.3, 2.4
Magento ChatGPT Integration Module for Mageplaza Blog
Overview
This Magento module extends the functionality of the Mageplaza Blog module by integrating ChatGPT for post and description generation. With this integration, you can enhance your blog posts by automatically generating relevant and engaging content using ChatGPT’s natural language processing capabilities.
Features
- Seamless integration with Mageplaza Blog module.
- Automatic generation of post content using ChatGPT.
- Enhanced post descriptions for improved SEO and user engagement.
- Customizable settings for ChatGPT integration.
Requirements
- Magento 2.x
- Mageplaza Blog module installed and configured.
Installation
composer require apedik/module-ai-blog
php bin/magento module:enable Apedik_AiBlog
php bin/magento setup:upgrade
php bin/magento setup:di:compile
Configure the settings in the Magento Admin Panel.
Configuration
-
Log in to the Magento Admin Panel.
-
Navigate to
Stores > Configuration > Mageplaza > Better Blog > AI
. -
Configure the following settings:
- Enable AI: Enable or disable the ChatGPT integration.
- API Key: Enter your ChatGPT API key. TODO encrypted
- API URL: https://api.openai.com/v1/chat/completions TODO default
- Same short/meta description: Use same content for short and meta description
- ChatGPT Language Model: Select the desired ChatGPT language model. TODO
- Additional Configuration Options: Configure any additional settings specific to your use case.
-
Click on the “Save Config” button.
Usage
Once the module is installed and configured, two buttons will appear in the post edit form, located under the “Content” and “Meta Description” sections. Fill in the post name and then click these buttons to automatically generate the post and description based on the post title.
Support and Issues
For any issues or questions regarding this module, please open a new issue on the GitHub repository.
Contributing
We welcome contributions from the community. If you have any improvements or new features to suggest, please submit a pull request.
TODO
- Post name validation before the requests
- Configurable models
License
This module is licensed under the MIT License. Feel free to use, modify, and distribute it as needed.