Can a variable be added to represent the Notepad directory?

For example, in the notebook, there are characters Xiao Ming and Xiao Hong, items like computer accessories and a game list, and some other content. I want to have a variable as the directory for these notebooks and add a note-taking feature to the notebook. The directory should include these notes, and there should be prompts that allow the AI to determine whether to read the corresponding notebook.

Additionally, sometimes after automatically triggering memory extraction and notebook extraction, I’m not satisfied with the response in this round and want to reroll. However, I have to manually revert the notebook and memory to their previous states. Memory extraction is fine since I can just delete the latter parts, but the notebook becomes messy, and it’s troublesome to modify. Can a rollback feature be added?

One more thing, the JSON format of the notebook extracted by the AI is too disorganized, with no indentation or line breaks. After exporting and re-importing with livepage, there are still no indentations or line breaks, making it really difficult to modify and view. Can this be optimized?

87f78617-caf5-47c3-bb70-5d3ab7b16d3a

b227 modified the menu for the last message from “Rewind” to “Undo”. This “Undo” not only reverts to before the message was sent but also synchronously rolls back long-term memory (including the knowledge base) and the character notebook.