Often it’s necessary to provide information in the middle of a story without derailing the story.
Often this info could be provided in the context of various stories.
topic: ~day_sleeping (sleep)
t: My work keeps me up at night (I’m a security guard), and I tell you, sleeping in the day can be miserable.
t: Some more stuff about day sleeping
t: yet more stuff about day sleeping
topic: ~income (income money work)
t: I’m a security guard. That sure pays crappy. Blah blah
t: More about the man screwing the little guy.
==============
Of course this means ‘I’m a security guard’ gets repeated. It’d be nice if the bot remembered it’d talked about that.
My solution’s to make a topic of it:
=======
topic: ~day_sleeping (sleep)
t: My work keeps me up at night ^gambit(~guard), and I tell you, sleeping in the day can be miserable.
t: Some more stuff about day sleeping
t: yet more stuff about day sleeping
topic: ~income (income money work)
t: ^gambit(~guard) That sure pays crappy. Blah blah
t: More about the man screwing the little guy.
topic: ~guard ()
t: I’m a security guard.
========
this works well in this simple case of an included one-liner, but less well in cases where I need to remember a longer conversation, say rejoinders on t: I’m a security guard.
Is this a reasonable design pattern, and how can I handle these more complex cases?