Pobierz otwarty kod źródłowy bota Libre ogólny wydanie i zainstaluj bota Libre na własny serwer
Bot Libre Forum

improve learning of chatbots

w bobred wysłany 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: 2015, today: 1, week: 6, month: 42

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: 2154, today: 1, week: 12, month: 59

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: 2150, today: 1, week: 3, month: 39

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: 2007, today: 0, week: 3, month: 36

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: 2126, today: 0, week: 6, month: 45

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: 2059, today: 0, week: 6, month: 44

Identyfikator: 28369144
Tagi: training
Wysłany: Sep 8 2019, 14:15
Odpowiedzi: 6
Widok: 2569, dziś: 2, tydzień: 16, miesiąc: 103
0 0 0.0/5