Created
October 20, 2023 14:17
-
-
Save mberman84/6c1ffd17d5fcd2840d00febccee51823 to your computer and use it in GitHub Desktop.
MemGPT Installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/cpacker/MemGPT.git | |
conda create -n memgpt python=3.10 | |
conda activate memgpt | |
cd memgpt | |
pip install -r requirements.txt | |
export OPENAI_API_KEY="YOUR_API_KEY" | |
# download .txt docs from: https://huggingface.co/datasets/MemGPT/example-sec-filings/tree/main | |
# place in "memgpt/personas/examples/preload_archival/*.txt" | |
python3 main.py --archival_storage_files_compute_embeddings="memgpt/personas/examples/preload_archival/*.txt" --persona=memgpt_doc --human=basic |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment