apedik/module-ai-blog
Composer 安装命令:
composer require apedik/module-ai-blog
包简介
Mageplaza blog chatgpt support
README 文档
README
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.
apedik/module-ai-blog 适用场景与选型建议
apedik/module-ai-blog 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 34 次下载、GitHub Stars 达 2, 最近一次更新时间为 2023 年 11 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 apedik/module-ai-blog 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 apedik/module-ai-blog 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2023-11-18