zerofront / module-zero-reviews-ai-assistant
Zero for Magento Open Source: the AI Assistant's and the Claude connector's tools for Zero Reviews: list and moderate product reviews, and the /reviews command.
Package info
github.com/zerofrontdev/module-zero-reviews-ai-assistant
Type:magento2-module
pkg:composer/zerofront/module-zero-reviews-ai-assistant
Requires
- php: ~8.2.0||~8.3.0||~8.4.0
- magento/framework: 103.0.*
- magento/module-catalog: *
- magento/module-review: *
- zerofront/module-zero-ai-assistant: ^1.3.11
- zerofront/module-zero-reviews: ^1.3.11
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
- fixstacks/module-zero-reviews-ai-assistant: 1.3.11
README
The AI Assistant's tools for Zero Reviews: list_reviews, moderate_reviews. It also adds the /reviews command (commands argument of Zero\AiAssistant\Model\Commands, with sort_order).
A bridge module: Zero_AiAssistant (the chat, the tool pool) and Zero_Reviews
(the data) stay independent of each other. Install this one when a store uses
both.
- Registers the tools in the
toolsargument ofZero\AiAssistant\Model\Tools(di.xml,\Proxyitems withsortOrder) and arequiresentry per tool: a tool shows only while Zero_Reviews is enabled. - Tool names, ACL resources (
Magento_Review::reviews_all,Magento_Review::pending) and areas are the ones the tools had inside Zero_AiAssistant, so roles and stored proposals keep working. The area's ACL resourceZero_AiAssistant::area_reviewsstays in AiAssistant. module.xmlsequence: Zero_AiAssistant, Zero_Reviews, Magento_Review, so it loads after them.
Tests: Test/Unit.
Install
Requires Magento Open Source 2.4.7–2.4.9 and PHP 8.2–8.4 with the GD extension built with WebP (php -r 'var_dump(function_exists("imagewebp"));' says true; Magento's own PHP requirements cover the rest). Without WebP in GD, Zero skips its WebP image copies and serves the originals.
composer require zerofront/module-zero-reviews-ai-assistant bin/magento setup:upgrade bin/magento setup:di:compile # production mode bin/magento setup:static-content:deploy # production mode bin/magento cache:flush
Composer installs zerofront/module-zero-ai-assistant, zerofront/module-zero-reviews with it.
Part of zerofront/zero, which installs the Zero theme and every Zero module at once.
What changed in each release: CHANGELOG.md.
License
OSL-3.0 or AFL-3.0, your choice: see NOTICE.md.
Zero is made by Fixstacks. Documentation: https://zerofront.dev/docs. Demo store: https://demo.zerofront.dev.