تحميل بوت الحرة سطح المكتب, الشخصية الخاصة بك بوت لجهاز الكمبيوتر أو ماك
Bot Libre Forum

temporarily import information from the web

قبل bobred نشر Feb 13 2020, 6:12

can I import information from a websight into my chatbot then delete that information the next sentence I enter?


by admin posted Feb 19 2020, 16:45
For importing information into your bot see,
https://www.botlibre.com/forum-post?id=13020078

In general any unpinned data will eventually be deleted/garbage collected if unreferenced.
To force the deletion of an object call the delete() method in Self. But be careful of deleting objects that may be used elsewhere.
See,
https://www.botlibre.com/manual-self.jsp#object-methods

Updated: Feb 19 2020, 16:47
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2736, today: 1, week: 4, month: 40

by bobred posted Feb 19 2020, 18:24

can i get what was previously stored in memory by the time it was stored then delete it?


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2604, today: 0, week: 4, month: 35

by admin posted Feb 21 2020, 13:18
You would need to keep track of the data you load then delete it. There is no easy way to delete all new data, although this is something we are investigating a solutions for.

There is also a Memory class in Self that does support some basic querying API of the entire bot's database.
See,
https://www.botlibre.com/forum-post?id=14527502

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2610, today: 1, week: 6, month: 35

by bobred posted Feb 25 2020, 12:33

keep me informed.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2278, today: 0, week: 3, month: 30

معرف: 32070378
Tags: self
نشر: Feb 13 2020, 6:12
الردود: 4
الآراء: 3160, اليوم: 1, الأسبوع: 7, الشهر: 63
0 0 0.0/5