Testing your bot by clicking on the debug in chat shows that it is matching one of your * patterns if the word is not a food, but matches the food pattern if it is. If chilli was not in the set, then it will not match the pattern.
FINE -- Language:SCRIPT - <522562 {aiml} a:1,c:0,p> - <527595 {chilli is a food} a:1,c:5>
FINE -- Language:PATTERN MATCH - <87645 Pattern("*") a:15,c:0,p> - <288 is a:28,c:3,p>
<category>
<that>hello what is your name?please speak to me with complete sentences.
</that>
<pattern>*</pattern>
<template>
<srai>what is the weekday</srai> <date format="%A" />
</template>