agnai icon indicating copy to clipboard operation
agnai copied to clipboard

[Request]Add dual keyword trigger system for better memory management in Agnai

Open deedlitelf opened this issue 2 years ago • 1 comments

As the length of chats increases, the memory that AI needs to review will become longer and longer. The current method of managing the memory book will become more and more cumbersome. For example, when I was trying to engage in a text adventure simulation with a character, I encountered different characters with different characteristics. However, when it comes to memorization for management purposes, it always requires setting many different keywords to ensure different triggers for different people or cramming too much content into a single entry. Therefore, I would like to introduce a dual trigger system similar to Silly Tavern or other similar projects.

For example, if I create a new entry and set the first keyword as "hair" the second as "Chris" with the content saying "Chris has long and gorgeous blonde hair," if dual verification is enabled, then only when both "Chris" and "hair" appear in the context at the same time (regardless of whether they are connected) can the entry's content be triggered.

Unfortunately, in the current mode, I can only write the keyword as "Chris's hair" or include a description of his hairstyle in Chris's attributes.

I have looked through your roadmap briefly and it seems that there are no plans related to this feature, but I still hope you can consider it. Thank you.

deedlitelf avatar May 25 '23 07:05 deedlitelf

Heya, I'll look into supporting something like this in the near future.

sceuick avatar May 26 '23 02:05 sceuick