Intent Details

CatalogPlaceOrderIntent

Catalog Place Order

Priority: 21

Strategy: RegEx

Command Handler Type: PragyaBOT.Services.UrbanChakki.Commands.Handlers.CatalogPlaceOrderCommandHandler, PragyaBOT.Services.UrbanChakki

Active: True

Patterns

Pattern Statement Priority Active
CatalogPlaceOrder CatalogPlaceOrder 5 True Edit |
(?i)(?:send\s+(?<Product>\w+)\s+atta\s+(?<Amount>\d+)\s*(?<Unit>kg|grams|g))|(?:(?<Amount>\d+)\s*(?<Unit>kg|grams|g))\s*(?:of\s+)?(?<Product>\w+)\s+atta 5 kg Khapli atta with soya bean 10 True Edit |
(?i)\b\d+\s*(?:kg|kgs|g|gram|grams|gms|pkt|packet|packets)\b Matches phrases like 5 kg, 2 kg, 1kg, 500 gms: 20 True Edit |
(?i)(\b(need|want|looking\s+for|do\s+you\s+have|buy|send|give|price\s+of)\b|\b(?<!(repeat|status|track)\s+)order\b(?!\s*(repeat|status|track))) Matches common user order triggers: 25 False Edit |
(?i)\b(aata|atta|sharbati\s+atta|dal|daal|moong\s+dal|moong\s+dal\s+powder|masala|paneer\s+masala|channa\s+masala|jowar|bajra|protein\s+power\s+house)\b Matches your specific product list: 30 True Edit |
(?i)(?:(?<Action>send|add)\s+)?(?<Amount>\d+)\s*(?<Unit>kg|grams|g|pkt|pack|packets)?\s*(?:of\s+)?(?<Product>[\w\s]+?)(?:\s+atta)?$ add 5 ragi cookies strawberry 15 True Edit |
CancelOrder Cancel Order 40 True Edit |
(?i)^(?!.*\b(agent|human|representative|support)\b)(\b(need|want|looking\s+for|do\s+you\s+have|buy|send|give|price\s+of)\b|\b(?<!(repeat|status|track)\s+)order\b(?!\s*(repeat|status|track))) Matches common user order triggers: 25 True Edit |
(?i)\b(?:new\s+order|place\s+(?:an?\s+)?order|start\s+(?:an?\s+)?order|restart\s+order|begin\s+(?:an?\s+)?order)\b new order 45 True Edit |
(?i)^\s*(?:continue|start|begin)\s*$ 50 True Edit |
(?i)^\s*(?:online|cod|cash|cash\s+on\s+delivery|upi|scanner)\s*$ "online", "cod", "cash", "cash on delivery", "upi" 80 True Edit |
(?i)^\s*(?:fine|medium|extra\s+fine|ladoo|punjabi(?:\s*-\s*(?:medium|coars|mota)|[\s-](?:medium|coars|mota))?)\s*$ For Grinding 85 True Edit |

Create New Pattern