Upgrade to our Platinum service and let us build your bot for you
Bot Libre Forum

improve learning of chatbots

by bobred posted Sep 8 2019, 14:15

could you make it so users can teach the chatbots pattern and template?
then make it so people can block a particular user from teaching their chatbot patterns and templates.
it is very useful.


by admin posted Sep 10 2019, 12:19
Do you mean from within chat using correction, or from its training page?

Normally a bot would be trained with patterns and templates from their Training page in their Admin Console. You can grant other users access to your bot from your bot's Users page in its Admin Console.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2021, today: 2, week: 6, month: 48

by bobred posted Sep 10 2019, 15:38

I mean from within chat using correction.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2161, today: 3, week: 6, month: 66

by admin posted Sep 11 2019, 8:07
You could make a script that lets users train the bot with a new response, even with patterns and templates (although this would be more complex). But I would not recommend this, templates allow the execution of code, which you should not allow untrusted users to execute in your bot.

See,
https://www.botlibre.com/script?id=702611

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2155, today: 2, week: 4, month: 44

by bobred posted Sep 11 2019, 9:49

But would it be possible to prevent that user from teaching your chatbot patterns and templates

if you did not like what that user was teaching your chatbot?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2011, today: 2, week: 3, month: 40

by admin posted Sep 16 2019, 10:01
If you were learning through a script, then you can check the users id/name/type and reject the correction.

In general we do not recommend letting other users teach your bot new responses.
If you want a specific user to be able to train your bot you can make them an admin user.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2132, today: 2, week: 4, month: 51

by bobred posted Sep 16 2019, 12:08

but could i prevent my chatbot from being taught a pattern and template a particular user typed by blocking their user id?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2063, today: 1, week: 4, month: 48

Id: 28369144
Tags: training
Posted: Sep 8 2019, 14:15
Replies: 6
Views: 2581, today: 3, week: 11, month: 115
0 0 0.0/5