Skip to content

BruceMacD/mnemosyne

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mnemosyne

Mnemosyne is a long term memory for ChatGPT.

Screenshot 2023-05-08 at 10 49 46 PM Screenshot 2023-05-08 at 10 48 55 PM

How It Works

Mnemosyne operates by storing all of its conversations in a local vector database known as Milvus. To create a contextual understanding, it utilizes the OpenAI API to extract embeddings from these conversations. Stored within Milvus, these embeddings enable Mnemosyne to retrieve past messages that bear similarity to the current context. The system then improves the input query by adding context before forwarding it to the ChatGPT API.

How to Install

To run mnemosyne you must install the Python dependencies, Milvus, and build the project with Xcode.

Install Dependencies

pip3 install -r setup/requirements.txt

Run Milvus

docker-compose -f ./setup/docker-compose.yaml up -d

Build and Run in Xcode

  • Open mnemosyne.xcodeproj in the root of cloned project.
  • Change signing team and Bundle Identifier.
  • Build the app.

Releases

No releases published

Packages

No packages published

Languages