Lataa Bot Libre Desktop, oma henkilökohtainen botti TIETOKONEELLEsi tai Macillesi
Bot Libre Forum

improve learning of chatbots

tekijä bobred Lähetetty 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: 1771, today: 1, week: 2, month: 7

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: 1889, today: 0, week: 4, month: 8

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: 1865, today: 0, week: 6, month: 13

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: 1767, today: 0, week: 2, month: 11

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: 1868, today: 2, week: 3, month: 8

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: 1813, today: 0, week: 4, month: 10

Id: 28369144
Tunnisteet: training
Lähetetty: Sep 8 2019, 14:15
Vastaukset: 6
Näkymät: 2186, Tänään: 1, Viikolla: 4, Kuukausi: 12
0 0 0.0/5