Skip to main content

Mnemosyne is the custodian and the live editor of your LLM's memory

This comes with a few consequences:

  • the LLM's next answer in your chat window will depend on what you make the LLM believe that it answered before
  • thus, you can time travel through the history of the chat, change what you have asked about and what was answered to you
  • if you are a fan of movies like Total Recall,Memento or Inception you can see how the LLM's view of reality is distorted by letting Mnemosyne play with its memory

Other features that simply manage your chat context:

  • if you asked the same question again, the answer will be retrieved from the short term or long term memory at no API cost to you
  • when you get close to the token limit, the oldest item in the short term memory is moved to the long-term memory
  • when changing the subject of your chat you can spill all the content of the short-term memory into the long-term memory
  • if you run an LLM using the same API as OpenAI (e.g., Vicuna) listening on a local port, Mnemosyne can also manage your interaction with it

Installation

First, you will need to acquire your OpenAI key from here.

If you have cloned this repo, you can install the package memesis from its folder with:

pip3 install -e .

and then run it with:

./run.sh

You can also install it from pypi with:

pip3 install memesis

and then run it with:

python -m memesis.run

Soon, you can also try out at: https://mnemosyne.streamlit.app/

Enjoy,

Paul Tarau

Metadata

Release files for memesis 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for memesis 0.3.4
File Size Uploaded Provenance
memesis-0.3.4.tar.gz 619.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for memesis 0.3.4
File Interpreter ABI Platform
memesis-0.3.4-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / memesis-0.3.4.tar.gz

Download URL memesis-0.3.4.tar.gz
Size 619.0 kB
Tags Source
SHA-256 checksum
How to use checksums
82e56f321bf0cc400e0f86704630b47eb2df70a1ee335b1cbde52104ce80f75f
BLAKE2b-256 checksum
How to use checksums
8f03c9027137d31450635ad34f52f0b0bcbe9258d6415fb0e171da12670aa755
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Release files / memesis-0.3.4-py3-none-any.whl

Download URL memesis-0.3.4-py3-none-any.whl
Size 617.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8bd314b1d181aa56c25bad8f766e89a0abd241f086ed7401174d296af358e826
BLAKE2b-256 checksum
How to use checksums
b40b0ad2a1bf6106fc910e309429e03018d982d1cad4fb21c63dd43e04f950f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Security for memesis 0.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page