XaiJu
Irsat
Irsat

patreon


Memory Manager version 2! - Next update (released)

 

(I didn't remove the version 1 just in case some prefer it)

Version 2



Imports memories into EVERY new message temporarily. Doesn't show it to you, edits message behind the scenes to clean it up. Which means it doesn't eat away context limits of the AI by leaving traces in the past messages.

Definitely use "Hide Edited note" from Utility menu, because it may be frustrating to see the note under every message.

While 4 thousand characters is the limit for message input, there is no hard limit for sending message with code directly. Feel free to add long and many memories.

Version 1



Imports memories to the messages, every Xth message you send.

Separate for each chat (both v1 & v2)



I took the memory settings from limited storage of localStorage to indexedDB (still local) where all other settings like backgrounds and font settings are stored. So it doesn't just clean everything if it overflows. More storage means; The memories are now separate for each chat, previously was for each character. This apples both version 1 and 2.

More




IMPORTANT QUESTION FOR YA ALL!!!



v1 uses...

[-](#- "Memory: [memory text here]")

...format to add a single memory into the message. This creates a link as "-" to hide the long text in your message but since it's no longer a problem, we can customize it however we want. It's important because bot recognizing this text or TEXTS the way we want it to do is dependent on it.

What do you suggest?

Note: All memories can be merged into one or we can separate while formatting like how it's currently.

Note: The wrapper needs to be unique and recognizible by Regex (pattern recognition). Something like {{ }} which won't exist in normal message.

Note: Custom user given wrapper is out of question for a number of reasons.

Comments

V2 automatically inserts into every message. It's normal to hallucinate, you put too much.

İrşat Muhammed

Sorry for interrupting anything but I don’t know if this is because of the memories or not, but as I add more and more memories, 9 until now, the character seems to throw more inaccurate things, or it simply does not remember what’s literally written there at all. I have pressed save and I’m using V2 with a frequency of 1, am I doing something wrong??

Tomas Stevenson

Only whatever you write in those textboxes.

İrşat Muhammed

Hello I have a question and sorry if I’m bothering but for V2 since it says “Reminds every message and automatically cleans it” Do I have to actually insert what I want the character to remember, or does it ACTUALLY remind every message to it automatically ??

User Soul

Is it fixed now? With v2.9.5.

İrşat Muhammed

Thanks :) I tried this. I filled the memory field with text without any parentheses/brackets and everything seems to work fine.

Sophie

🥰 You can experiment with it. You don't need to since it's all are in parantheses.

İrşat Muhammed

I really like this feature and your CAI Tools! :) I think I'll buy the premium version. Btw, I have a question about filling the memory field (both for v1 and v2). Can I write normal text without brackets? Or should I also write these specific symbols (like "{{")? I didn't quite understand... sorry.

Sophie

Gotcha. Man that sucks on their part. Thank you so much for the help.

Shraddha Ganesh

That's my theory. I don't have Mac. All developers hate apple anyway 😄 To develop something for them, you need Mac and use their software. The greed is off the roof.

İrşat Muhammed

Ah so is it mac incompatible basically? Okay thank you.

Shraddha Ganesh

Oh iphones doesn't support some features of the extension, maybe Mac uses a similar system on the back. They are Apple. Memory manager works by intercepting http request and editting contents. Like when you send a message, it adds the memory in it. Iphones keep these requests in an inaccessable scope I think, and Tor based browsers encrypt them.

İrşat Muhammed

I'm using chrome and I'm on a mac if that's relevant at all. I don't know what you mean by platform, but I'm just using the most recent CAI website. Thank you so much for helping by the way.

Shraddha Ganesh

Which browser and platform are you using?

İrşat Muhammed

Oh I don't see the dash either. I definitely did click the Add new button and the save button, but for some reason, it just isn't working.

Shraddha Ganesh

With V1, do you see a dash above your messages? If not, could you check memory manager window if you actually clicked Add New button?

İrşat Muhammed

Hi! I was trying to use the memory manager and find it isn't working at all. I put in obvious things and tested it by asking questions to the bot and it wouldn't be able to answer them. Am I doing something wrong or? I also tried this with v1 and it's still not working.

Shraddha Ganesh

Can't use both. Try them and pick one.

İrşat Muhammed

Should I use version 1 or 2 or both?

Nilou Lotus

No limit but if you add too much the bot may not focus on their own reply.

İrşat Muhammed

Hello! I was attempting to use Memory v2, and it was working up until I reached a certain memory (I think the fifth), and then it stopped reading. v1 works with the memory, so, I'm wondering whether there's a limit here? Or am I doing something wrong?

Rachel

This is still in my to-do list. Hopefully soon.

İrşat Muhammed

Yes, everything else is the same as the first version.

İrşat Muhammed

So, for it to work i have to copy the messages and insert them into that field on the Memory window for it to remember the stuff?

Peter Ledergerber

It does the same thing, frequency is every message because we can afford it by cleaning the older ones. It doesn't even show it to you, that's the beauty of it. You van test it by inserting something shocking like love confession.

İrşat Muhammed

Hey, question, do i actually have to insert stuff into the thing for this memory to work? Does it not send every message in that conversation to the bot? Or did i understand this wrong? I did activate v2, but i dont know if it actually works or not. Could you tell me how exactly the memory works?

Peter Ledergerber

Yes, the deleting messages. Sorry for not clarifying; thanks for the quick reply!

2AM

Wait, which feature? Deleting chat? I will add the delete chat one in the future updates. Probably the next one.

İrşat Muhammed

It's v2.7.8. It's on the store. My newest update v2.8.0 isn't on chrome store yet. Take a look at the new post.

İrşat Muhammed

Is this feature a part of the recent update, or is it still a work in progress?

2AM

You can't, but you could feed the history to another chatbot online, take the response and edit CAI's reply. It's an abomination.

İrşat Muhammed

I didn't think you could change CAI's model??

Zumz Yuki

Awesome ty!

2AM

But these are local, right?

İrşat Muhammed

been using these as alternatives

Abdulhanan Rehan aziz

i am my best ones are - Lunaris 8B (8K context) by Sao10K - Mistral Nemo 12B (120k) by Mistral Team (BEST ONE, same responses as CAI)

Abdulhanan Rehan aziz

Thats so nice. Thank you!

Rodsengard

There are only two methods to bypass the filter. One is brute force like I aim to do, it will keep it on the border and there is a lower chance of triggering the filter again relative to the second method. The second is using another model. However it sounds better, it's actually worse. For starters if you actually generate an all-out nsfw message, CAI's model will filter at every single message. So you effectively become dependent on the 3rd party model for the rest of the RP. Another factor is the rarity of free unlimited unfiltered models out there. Not to mention their API service. If there was such a model you are aware of, then CAI Tools could give a selective option like "Use this model".

İrşat Muhammed

my gmail rehanazizabdulhanan@gmail.com

Abdulhanan Rehan aziz

if we able to do it, then next thing the community needs is image generation like stable diffusion (CAI has image generation but it's broken and nothing work when nsfw, we can intergrate stable diffusion pipeline with CAI)

Abdulhanan Rehan aziz

Bro i wanna work with you on the Filter system, i have alternative for the model and everything, and your extention has everything that is required, will you help? (it'll break the internet) please?

Abdulhanan Rehan aziz

Font settings, no. But I can add a little button for Roleplay BGs like "Use this bg for this character". Not now though, I have some work to do.

İrşat Muhammed

couldn't find how to communicate via PM. would you try to implement backgrounds and fonts settings for each chat? or didn't i find it?

Rodsengard

(v2.7.5) I added swipe support. It seem to be error proof, still can be improved for code quality but it works. I also fixed a couple of things like bubble colors not resetting and offline history not working for firefox. Please feedback so I can release it for chrome too. Just a bit worried after that night haha

İrşat Muhammed

I tried, that works. Yeah, I can add this feature in the future.

İrşat Muhammed

"Offline History" saying no history, right? Fixed just now. It's a Firefox browser based issue. Thanks for pointing it out.

İrşat Muhammed

if you rewind to the first message, and then delete the remaining one message, it deletes the chat

2AM

I will take a look at that too.

İrşat Muhammed

I think the download history has error already... I downloaded but didn't see the history chat log

Tường Xuân Nguyễn

Please see the edit at the top of the post. When that is over it should be flawless.

İrşat Muhammed

yes ive tried it and its works just fine now, thank you!

EEm

They use Firefox. Firefox approves the new version to be on the store in 5 seconds. Chrome takes days, up to a week sometimes even. It had two bugs by the way, I fixed it on Firefox and now waiting for Chrome to approve the new version.

İrşat Muhammed

How on earth do they have access to it?

logan Qeq

You should be able to uptade to hotfixed version. Have you tried it?

İrşat Muhammed

Firefox for me

Avadrie Sathel

Okay it's fixed, and you won't believe it, it was just a missing word, yeah, just one word caused such a pain. Go on and update it, v2.7.1

İrşat Muhammed

I use Firefox yes. so im not sure it could happen with chrome or anything. Also one update- no idea how but it fixed itself after i had the extension off for a few hours and turned it back on... lol even then i guess its best to give it look i suppose. and no worries and thanks for the work you do- :)

EEm

Chrome version was still pending review so I stopped it, thanks for early report. Yours is Firefox then, I will fix it tonight when I am at home, the publishing takes 5 minutes for firefox so it's all good. It's probably an easy fix too.

İrşat Muhammed

Gawd damn! I am not even at home, is it firefox or chrome? Well, you can activate the V2 and keep it empty, it should fix your problem temporarily if my theory is correct.

İrşat Muhammed

idk if anyone else said this but i think i found a bug? so i have both V2 and V1 off and the reminder "-" still pops up every message. (i dont have any written memories.) cause of that the bot uses the empty "Memory:" inside it while i RP. (its pretty annoying. only thing i can do rn is to turn off the extension :c) is there a fix for this? dont wanna have it off cause i mostly use it for backgrounds-

EEm

It's pending review by the way, you should have it in like a day or two. edit: I canceled it and made a hotfix. I will wait for the google review twice, sorry.

İrşat Muhammed

Of course not. I don't make existing features and changes on them premium. I mentioned custom Bot Greetings might be premium, but it probably won't either. I have a really cool feature in mind to add as premium. Not that I am generous, even though I am! *vsauce stare* It would be shooting myself in the foot, imagine the bad reviews lol

İrşat Muhammed

Hopefully the V2 Memory manger won't be premium

logan Qeq

Only messages can be deleted, it's not possible to delete chats. You will still see the chats in history panel.

İrşat Muhammed

Could you add the ability to delete all chat history?

2AM

We will get there when we get there. Within a week probably.

İrşat Muhammed

When will the update be ready?

logan Qeq

Next update haha. Almost ready.

İrşat Muhammed

How do i get this?

logan Qeq

Yes, I've been using the "close tab" trick sometimes. It's a good workaround. The only thing is, I don't know which message is which number. If I knew, for example, "this is message number 44" I'd input "44" into the X space. Maybe... an option to display message numbers when we download "offline history"?

Harp Harpsiccord

Yeah I was thinking about that but I don't know what's the best way to apply this. Currently the last X means take X amount of messages from the last, so it doesn't target the early messages. A trick: The opposite is possible by just closing the tab when you see the number you want on x/y finished. It copies up to that point in other words. Before I implement this, I have something in mind that will make copying process WAY faster, that takes the priority am I right? It might be impossible, still worth a try. That said this idea comes from generating all 30 swipes as fast as generating just one. I tested with a little script and it works. That will also be an another feature. (Also can just generate and store 100, ignore filtered messages and edit the responses to kinda bypass nsfw?)

İrşat Muhammed

Would it be possible to add a feature to toggle "message number"? Say, for example, a chat that's 800 messages long, but at message 624, the chat diverges. We'd like to save only from messages 624 onward (in the "use last X") as an offline chat, but we don't know it's message 624. It'd be a great workaround for the feature where we used to be able to post parts of chats privately on the old site.

Harp Harpsiccord

I think Rinine uses * V2 sounds really neat tho! Hope we get some more customisation in the future

Zumz Yuki


More Creators