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

Read the architecture guide →

Handle book feedback in conversation

Set expectations when a customer shares an opinion or feedback about a book with an agent.

Guide

Audience & Outcome: This guide is for AI engineers and product owners working on Chat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-capabilities-teamDiagramRepositoryOpen docs and Reviews integration. You will learn how conversational feedback is kept strictly separate from authoritative FeedbackEntityv1.0.0FeedbackRepresents an individual customer's rating and optional written review for a Catalog book.Ownercatalog-experience-teamOpen docs records and Catalog rating summaries.

When a customer shares praise, criticism, or an opinion about a book during chat, Book AgentAgentv1.0.0Book AgentPrimary conversational book discovery and recommendation specialist that grounds catalog answers in read-only MCP lookup...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs responds empathetically inside the conversation without creating, modifying, or deleting any official review record. Authoritative FeedbackEntityv1.0.0FeedbackRepresents an individual customer's rating and optional written review for a Catalog book.Ownercatalog-experience-teamOpen docs records live exclusively in 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, and BookWorm keeps conversational discussion strictly separate from persisted review writes.

Context and motivation

Customers naturally blend three different intents in bookstore conversations:

  1. Sharing an informal opinion (“I loved the pacing of Dune, give me something similar”).
  2. Asking for an analysis of existing reviews (“What do readers say about Dune?”).
  3. Submitting, editing, or deleting a public review that affects a book’s rating summary.

Treating informal chat comments as official reviews creates silent data-integrity bugs and misleads customers into believing a casual message updated a book’s public rating. BookWorm separates empathetic conversational handling, read-only review summarization, and authoritative review persistence into three distinct paths.

How it works

The visual below contrasts the two read-only Conversational paths against the separate authoritative Reviews write path through 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 and Kafka.

Loading graph...

Four architectural invariants

Warning

Chat APIServicev1.0.0Chat APIInternal HTTP host for BookWorm's interactive multi-agent chat workflow, agent discovery, and session persistence. Ownerai-capabilities-teamDiagramRepositoryOpen docs has no Kafka producer, no 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 connection, and no review write tools. Book AgentAgentv1.0.0Book AgentPrimary conversational book discovery and recommendation specialist that grounds catalog answers in read-only MCP lookup...PublishesAnalyzeText, AnonymizeTextOwnerai-capabilities-teamDiagramRepositoryOpen docs must never claim that a chat comment was saved, published, or used to update a book’s rating.