{ mind: ‘Mind’, message: ‘${convo}’ }
unirest.get(“https://erinsteph-cognitionlab-v1.p.mashape.com/mind/Mind/user/User/message/${convo}”)
is your ai responses going to be growing? I’ve got about only 10 or so standard replys from the bot.
but rather cool I must say.
deployed on zeit
https://cogbot-ktdavmheva.now.sh/
Join in the discussion - add comment below:
A side note: context and repetition are key. If you stream in a bunch of random sentences, what you’re going to get back is very loosly related word salad. Using words repeatedly in gramatically correct context is how the mind learns to use them correctly, so training by hand does take patience, however, a well trained mind is pretty uncanny, it’s worth the effort 😉
This is normal behaviour!
The AI isn’t the same for everyone, it’s unique to your mashape account, it doesn’t know any words until it hears you use them.
If it hasn’t heard a word before, or hasn’t got a grasp of the contex, it will often echo back the same message that was said to it. You should use that as an opportunity to feed in the response you wanted, so your bot will learn the link.
Example:
In the above example, the first unique response the bot gave was “Hi User”.
You can see how the bot learned that was appropriate usege of “Hi” based on the previous messages.
Then, you might feed in a question, and train it on responses:
You see, until you have trained your mind, it doesn’t know how to speak, mimicry is part of learning! How intelligent your bot is is entirely up to you, how much training it gets, and the quality of said training.
Thanks for asking!