Liity Bot Libre open source -projektiin osoitteessa BotLibre.org
Bot Libre Forum : the think code

RE: the think code

tekijä admin Lähetetty Mar 21 2018, 17:37

I fixed your bot.

Your issue was you set the topic in both, not just the second.
Also the bots don't like to say the same response twice in a row (normally if the user asked the same question twice in a row they want a different response), so even though your second response was the best response, it used the first one because it did not want to repeat itself.

I fixed it with a condition on the first response.

conversation.topic != "dancing"


Id: 21398814
Lähetetty: Mar 21 2018, 17:37
Vastaukset: 0
Näkymät: 1640, Tänään: 6, Viikolla: 9, Kuukausi: 6
0 0 0.0/5