Skip to content

Instantly share code, notes, and snippets.

@mberman84
Created October 20, 2023 14:17
Show Gist options
  • Save mberman84/6c1ffd17d5fcd2840d00febccee51823 to your computer and use it in GitHub Desktop.
Save mberman84/6c1ffd17d5fcd2840d00febccee51823 to your computer and use it in GitHub Desktop.
MemGPT Installation
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