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
- Host: GitHub
- URL: https://github.com/brucemacd/mnemosyne
- Owner: BruceMacD
- Created: 2023-04-28T01:15:23.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-10T20:23:08.000Z (about 3 years ago)
- Last Synced: 2025-04-01T21:57:18.224Z (over 1 year ago)
- Topics: chatgpt, embeddings, macos, milvus, openai, vector-d
- Language: Swift
- Homepage:
- Size: 1.91 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mnemosyne
Mnemosyne is a long term memory for ChatGPT.
# 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.
