Chris Sexton
a8d0f3fd34
stats: remove unused plugin
...
config: checkpoint
config: checkpoint all but two tests passing
config: checkpoint all but one test suites pass
2019-01-21 12:36:56 -05:00
skkiesel
91a334b32b
Fixed babbler tests by not running go routines during testing. (go fmt on nerdepedia because of course this should all happen in one commit)
2019-01-19 09:53:41 -05:00
Chris Sexton
66fa219f78
babbler: make recording new babbles _fast_
...
This is a hack. I am just pushing the processing off into a goroutine so
that we can return as quickly as possible from a non-event as far as the
bot's interaction with users is concerned. This is potentially harmful
if we have too many goroutines blocked writing babblers (hopefully
sqlite is configured to be thread-safe). But if we have a bunch of
babblers writing off to disk, it's no worse than blocking for each
one sequentially, I guess.
2018-11-08 18:06:11 -05:00
Chris Sexton
c639d460ac
go fmt
2018-05-02 07:02:04 -04:00
skkiesel
54b83cd444
listening to thread responses to rpg threads only
2017-10-31 14:14:45 -04:00
Chris Sexton
6af9114a37
babbler: create tables no matter what
2017-10-25 18:45:45 -04:00
skkiesel
dcf45d2145
update test case to test exactly what we want
2017-06-16 15:19:11 -04:00
skkiesel
8735a2283b
quiet down the babbler
2017-06-16 15:02:28 -04:00
skkiesel
11c4f78bbd
try to force the bridge command to give less deterministic results
2017-06-07 20:07:26 -04:00
skkiesel
bd7cf6be7c
add middle out compression, I mean babbles
2017-06-07 20:02:42 -04:00
skkiesel
8edba10b5d
update babbler syntax
2017-06-07 20:02:18 -04:00
skkiesel
9734845146
Even more custom babbling... with bookends! closed #58
2017-06-06 20:03:07 -04:00
skkiesel
aaba7c5bff
allow babbles to formed with suffixes ( closes #55 )
2017-06-05 19:53:19 -04:00
skkiesel
df50130389
limit babble lengths... loops are not for kids
2017-05-25 15:22:58 -04:00
skkiesel
9e56b54680
it was a disaster before, now it is less.
2017-05-17 10:06:10 -04:00
skkiesel
e97ce576b8
probably not a huge memory savings, but only represent each unique word once and then reference them by their key for each babbler
2017-05-10 12:43:41 -04:00
skkiesel
efde5d804d
add feedback for when a seed isn't found
2017-05-10 10:11:49 -04:00
skkiesel
24f373d20f
when read through the whole set of quote rows before beginning adding back into the babbler
2017-05-10 09:50:37 -04:00
skkiesel
f28dabf0ba
clean up and ignore empty strings when adding to the markov chain
2017-05-10 09:42:27 -04:00
skkiesel
8c98734e7e
Add useful error messages when a babbler isn't found or when a user hasn't said something yet
2017-05-10 08:41:41 -04:00
skkiesel
de4defde1b
refactoring this to use a db took more time than all previous work combined on this plugin.
2017-05-09 19:41:40 -04:00
skkiesel
57eb211983
Remove the responses when we think we have a babble request but there is no babbler or the babbler is empty
2017-04-12 09:02:00 -04:00
skkiesel
c8ea09fc1d
allow the babbler to be seeded with a full phrase
2017-04-07 15:45:15 -04:00
Scott Kiesel
a86ef4bebd
stk5's wish come true
2016-10-20 06:19:59 -04:00
skiesel
3f056ee611
mergable (in memory) markov chains
2016-05-26 11:06:22 -04:00
skiesel
b59cd6441f
batch learning for the babbler
2016-05-11 13:07:16 -04:00
skiesel
ac3e1da9e5
do not learn from commands to the babbler
2016-05-11 12:11:21 -04:00
Chris Sexton
e6324ad5a2
babbler: Add all users in chan, add cfg'd users
...
Also misc small updates to the mock object for easier config usage
2016-05-10 21:15:52 -04:00
skiesel
8c5a446b75
markov babbler plugin
2016-05-09 16:48:05 -04:00