Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Rating Summarizer Workflow

Bounded parallel review summarization with confidence-driven refinement and deterministic rating classification in Rating API.

Purpose & Scope

This workflow view illustrates how Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs handles Summarize feedbackQueryv1.0.0Summarize feedbackReturns a generated feedback summary, classification, rating metrics, evidence, and confidence for a book.Ownercatalog-experience-teamSchemaDiagramOpen docs by partitioning customer reviews into parallel batches, consolidating summaries through Rating AgentAgentv1.0.0Rating AgentRead-only review intelligence specialist that summarizes customer feedback over A2A gRPC and map-reduce workflows while ...PublishesAnalyzeText, AnonymizeTextOwnercatalog-experience-teamDiagramRepositoryOpen docs, and applying deterministic business classification rules. Architects and AI engineers should read this to understand concurrency bounds, quality-refinement caps, and the boundary between AI synthesis and application-owned metrics.

Visual Reference

Loading graph...

Bounded Parallel Review Summarization and Quality Classification

Key Takeaways & Boundaries

  • Application-owned metrics and classification: Review counts and average ratings are computed deterministically by Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs from Rating DatabaseContainerv1.0.0Rating DatabaseAuthoritative Azure Cosmos DB system of record owned by the Reviews bounded context for customer feedback documents part...Ownercatalog-experience-teamDiagramOpen docs, and final labels (NoData, Bad, Good, TopRated) are assigned by transparent business rules rather than model judgment.
  • Bounded map-reduce parallelism: Reviews are chunked into batches (20 per batch by default) and distributed across up to four concurrent workers, with a barrier join that restores original batch order before consolidation.
  • Capped quality refinement: If assessed confidence falls below the minimum threshold, refinement loops back to consolidation with assessment feedback—capped at two refinement passes without re-reading raw review batches.
  • Untrusted review isolation: Customer review text is treated strictly as untrusted evidence with tool use disabled on every model session, preventing prompt injection from triggering actions or altering metrics.
Note

Cached read-time snapshots: Rating APIServicev1.0.0Rating APIInternal HTTP and A2A gRPC service for collecting, listing, deleting, and summarizing customer feedback for Catalog book...PublishesFeedbackCreatedIntegrationEvent, FeedbackDeletedIntegrationEventSubscribesCreateFeedback, DeleteFeedback +3APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs caches completed summaries in Rating CacheContainerv1.0.0Rating CacheNon-authoritative FusionCache and Redis caching layer owned by the Reviews bounded context for AI-generated book feedbac...Ownercatalog-experience-teamDiagramOpen docs for six hours (and empty-review results for one minute). Execution is read-only and never mutates stored FeedbackEntityv1.0.0FeedbackRepresents an individual customer's rating and optional written review for a Catalog book.Ownercatalog-experience-teamOpen docs records or CatalogDomainv1.0.0CatalogCore BookWorm subdomain that makes books discoverable, purchasable, and consistently described across the customer journ...Ownercatalog-experience-teamDiagramOpen docs rating projections.