Forked from mberman84/gist:6c1ffd17d5fcd2840d00febccee51823
Created
March 8, 2024 16:57
-
-
Save fmarkos/68fd0eb18b7108955ee132eff9902e63 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