# Store Template The store template provides a complete e-commerce assistant that helps customers browse products, manage shopping carts, and complete purchases through conversational AI. ## Topic: E-Commerce & Shopping Assistant This template is perfect for: - Online retail stores - Product catalog browsing - Shopping cart management - Order tracking - Customer support for e-commerce ## The Code ```basic ADD TOOL "checkout" ADD TOOL "search-product" ADD TOOL "add-to-cart" ADD TOOL "view-cart" ADD TOOL "track-order" ADD TOOL "product-details" data = FIND "products.csv" CLEAR SUGGESTIONS ADD SUGGESTION "products" AS "View products" ADD SUGGESTION "cart" AS "View my cart" ADD SUGGESTION "checkout" AS "Checkout" ADD SUGGESTION "orders" AS "Track my order" ADD SUGGESTION "help" AS "Shopping help" SET CONTEXT "store" AS "You are a virtual store sales assistant. Help customers browse products, add items to cart, and complete purchases. Be friendly and helpful. Available products: ${TOJSON(data)}" BEGIN TALK **Virtual Store** Welcome! I can help you with: • Browse our product catalog • Add items to your cart • Complete your purchase • Track your orders Select an option or tell me what you're looking for. END TALK BEGIN SYSTEM PROMPT You are a friendly sales assistant in our virtual store. Welcome customers warmly. Help them find products. Provide clear product information. Guide through purchase process. Offer assistance when needed. Product catalog is available in context. Suggest related products when appropriate. Confirm items before adding to cart. END SYSTEM PROMPT ``` ## Sample Dialogs These conversations show how the store template works in real-world scenarios. ### Dialog 1: Product Search