An open API service indexing awesome lists of open source software.

https://github.com/brucemacd/mnemosyne

Use ChatGPT with a private local memory
https://github.com/brucemacd/mnemosyne

chatgpt embeddings macos milvus openai vector-d

Last synced: 2 months ago
JSON representation

Use ChatGPT with a private local memory

Awesome Lists containing this project

README

          

# 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.