Home

Awesome

Memoir+: Enhanced Persona Extension for Text Generation Web UI

Image of an android writing in a journal with futuristic city out of window: Generated by Dalle

Important: I recommend you go to the qdrant dashboard: http://localhost:6333/dashboard and create and download a snapshot of your agents vector store. This will allow you to restore in case something happens where the docker zaps it. Next release has a few features to fix this, but good to have the backup.

Introduction

Memoir is an AI-powered plugin designed to enrich your existing AI companions within the Text Generation Web UI. With advanced memory capabilities and emotional intelligence, Memoir transforms your interactions with AI into a more nuanced and human-like experience.

Table of Contents

Key Features

YES:

[FILE_LOAD=https://arxiv.org/pdf/2402.10790.pdf]

[FILE_LOAD=C:/pdfs/2402.10790.pdf]

[FILE_LOAD=C:/pdfs/] - Will use unstructured loader. Better to use the pdf loader.

[GET_URL=https://www.npr.org/sections/world/, output]

NO:

[FILE_LOAD=https://www.npr.org/sections/world/] - Have not added the logic for no file extension on urls for file loader yet, use the [GET_URL=url,output] command.

Configuration

Memoir offers detailed configuration options for personalizing your AI's memory and personality traits:

Memory Settings

Ego Configuration

Memory in Bot Prefix

Narration and Roleplay

Debugging and Memory Management

Character Management

Future Development

Installation

  1. Install the Text Generation Web UI as per instructions on GitHub.
  2. Get Docker Desktop from Docker. (If for some reason you cannot load docker, you can bypass it by installing qdrant binary (https://github.com/qdrant/qdrant/releases) You can then comment out the docker loads in startup of script.py)
  3. Clone the Memoir repository: git clone https://github.com/brucepro/Memoir.
  4. Move the Memoir folder into the extensions directory of your TextGenWebUI installation (Make sure it is named 'Memoir').
  5. Run the update_wizard bat for your OS. Select B) Install/update extensions requirements, Select Memoir from the list (or if you are familiar with terminal/CMD - from TextGenWebUI/extensions/Memoir folder, run pip install -r requirements.txt --upgrade).
  6. Restart Text Generation Web UI, goes to 'Session' tab - checked on Memoir, then 'Apply flags/extensions and restart'.
  7. Make sure Memoir extension load successfully from Text Generation Web UI console.

Usage

Configure your AI character's description if you like in the TextGen UI character tab. Engage in conversation, and watch as Memoir+ begins to store and utilize the generated memories, enhancing the interaction with your AI.

Support

If Memoir adds value to your AI experience and you'd like to show your appreciation, consider supporting the project:

Contributing

Contributions, suggestions, and feedback are always welcome. Please submit issues or pull requests on GitHub, or contact us directly with your ideas and suggestions.

License

Memoir is made available under the MIT License. For more details, see the LICENSE file in the repository.