Thank you for your purchase. How well did we do?




Feedback Processing Sequence Diagram

1. User Feedback Submission: The user submits feedback to the Edge server.

2. Feedback Transfer to Edge Worker: The Edge server forwards the feedback to the EdgeWorker (EW) using a POST request.

3. Sentiment Analysis by Neural Model: The EW sends the feedback to the Neural Model (NM) for sentiment analysis.

4. Sentiment Analysis Result and Accuracy Score: The NM analyzes the sentiment and returns the sentiment result and an accuracy score to the EW.

5. Conditional Responses Based on Accuracy Score:

  • Accuracy Score Below 90: If the accuracy score is below 90, the EW instructs the Edge server to send a "Thank You" note to the user, irrespective of the sentiment.
  • Accuracy Score 90 or Above: If the accuracy score is 90 or above, further actions are taken based on the sentiment:
    • Positive Sentiment: The Edge server sends a "Thank You" note to the user.
    • Negative Sentiment: The EW looks up a valid gift card code from the EdgeKV and instructs the Edge server to present this gift card code to the user.