Magento 2 ChatGPT Product Review SummaryMagento 2 ChatGPT Product Review Summary
Buy Now
Support
Buy Now
Support
  • Getting Started

    • Introduction
    • Key Features
    • How It Works
  • Installation

    • Requirements
    • Install the Module
    • Install the AI Packages
    • Enable & Compile
    • Verify the Installation
  • Setup

    • Enable the Module
    • Activate Your Licence
    • Select an LLM Provider
    • Validate & Load Models
    • First Summaries
  • Configuration

    • Overview
    • General Settings
    • Scope & Store Views
    • Admin Menu
    • Access Control
  • LLM Providers

    • Provider Overview
    • How Validation Works
    • Ollama (Self-Hosted)
    • Switching Providers
  • Generating Summaries

    • Summary Basics
    • What Is Sent to the Model
    • From the Reviews Grid
    • CLI Command
    • Keeping Summaries Fresh
  • Storefront

    • On the Product Page
    • Full-Width Layout
    • Styling
  • Developers

    • Data Model
    • Useful SQL
    • Logging
  • Help

    • Setup Problems
    • Generation Problems
    • Storefront Problems
    • FAQ

Data Model

Table wk_ai_review_summary_list

ColumnTypeNotes
entity_idint, PK, auto-increment
product_idint, nullableCatalog product entity ID
ai_review_summarytextThe generated paragraph
statussmallint, default 1Reserved; not used
store_idsmallintStore view ID

There is one row per product and store view. Regeneration updates that row in place.

There are no foreign keys. Rows are removed only when the product is deleted through Magento (the catalog_product_delete_after_done event). Deleting products directly in SQL leaves orphan rows.

Repository

Webkul\AIProductReviewSummary\Api\ProductReviewSummaryRepositoryInterface provides getById(), save(), delete(), and deleteById(). It is not exposed over REST or GraphQL.

Events the module listens to

EventAreaEffect
controller_action_postdispatch_review_product_massupdatestatusadminhtmlRegenerate summaries of the selected reviews' products
controller_action_predispatch_review_product_massdeleteadminhtmlRegenerate from the reviews that remain
catalog_product_delete_after_doneglobalDelete the product's summaries

Configuration paths

All under aiproductreviewsummary/general/:

status, ai_model, llm_api_key_enabled, ollama_endpoint, llm_model, api_key (encrypted).

Next: Useful SQL.

Next
Useful SQL