Botfuel / botfuel-dialog

Botfuel SDK to build highly conversational chatbots
https://docs.botfuel.io
Other
102 stars 18 forks source link

As a bot developer, I would like to know what is the type of "intents" #238

Open yangeorget opened 6 years ago

yangeorget commented 6 years ago

intentFilter() takes a parameter intents that seems to be a list of { value: ..., name: "..."}. However intentFilter() must return a list of string. This is very misleading and in several parts of the SDK, intents can either name a list of string or something else.

yangeorget commented 6 years ago

➤ Maxime Khoy commented:

make intents variables coherent in computeWithClassifier nlu.js