PerfectMatch: AI Shopping Quiz uses a branching tree structure where each question can lead to different follow-up questions based on the shopper's answer. This creates a unique, personalized path for each user.
Key concepts:
Root question — The first question every shopper sees. Only one root question per quiz.
Branch questions — Follow-up questions that appear based on a specific answer. Each option can lead to a different branch.
Terminal options — Answer options that end the quiz and show product recommendations. These are the "leaf nodes" of the tree.
Depth — How many questions deep a particular path goes. Deeper branches allow finer-grained product matching.
Every branch of the quiz tree ends in a terminal option with product recommendations. The AI ensures all paths are complete during generation.
