NeuralNine / neuralintents

A simple interface for working with intents and chatbots.
MIT License
253 stars 137 forks source link

KeyError: 'patterns' #3

Closed Pulixe closed 3 years ago

Pulixe commented 3 years ago

for pattern in intent['patterns']: KeyError: 'patterns' when try to run your code

NyllRE commented 3 years ago

Same issue, whatever I do even using the basic model it keeps throwing me that error. tried every variation of the code checked the json file for errors in typing nothing, always the same error

NyllRE commented 3 years ago

lol I just fixed the issue, in the intents.json file type "patterns" not "pattern". I don't know why I typed pattern but just add the "s"