From 562cdda0b4100411a6987f70fbf622c7e5bcc854 Mon Sep 17 00:00:00 2001 From: Charles Packer Date: Thu, 7 Dec 2023 14:21:53 -0800 Subject: [PATCH 1/3] Update index.md --- docs/integrations/index.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/integrations/index.md b/docs/integrations/index.md index 3f2f2729..434c3cd2 100644 --- a/docs/integrations/index.md +++ b/docs/integrations/index.md @@ -16,6 +16,7 @@ We welcome pull requests to add new Integrations to the community. |--------------|-----------|---------------| | [🦜️🔗 Langchain](/integrations/langchain) | ✅ | ✅ | | [🦙 LlamaIndex](/integrations/llama-index) | ✅ | :soon: | +| [📚🦙 MemGPT](/integrations/memgpt) | ✅ | | *Coming soon* - integrations with LangSmith, JinaAI, Braintrust and more. @@ -23,4 +24,4 @@ We welcome pull requests to add new Integrations to the community. ### 🧬 Embeddings -Are you looking for how Chroma integrates with embeddings providers like OpenAI, Cohere, Google PaLM and others? View [🧬 Embeddings](/embeddings) integrations. \ No newline at end of file +Are you looking for how Chroma integrates with embeddings providers like OpenAI, Cohere, Google PaLM and others? View [🧬 Embeddings](/embeddings) integrations. From 524c7049e6fd3b491d5264949e9c1b6c4f947d1f Mon Sep 17 00:00:00 2001 From: Charles Packer Date: Thu, 7 Dec 2023 14:25:11 -0800 Subject: [PATCH 2/3] Create memgpt.md --- docs/integrations/memgpt.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/integrations/memgpt.md diff --git a/docs/integrations/memgpt.md b/docs/integrations/memgpt.md new file mode 100644 index 00000000..ed994536 --- /dev/null +++ b/docs/integrations/memgpt.md @@ -0,0 +1,26 @@ +--- +slug: /integrations/memgpt +title: 📚🦙 MemGPT +--- + +MemGPT enables LLMs to manage their own memory and overcome limited context windows. You can use MemGPT to create perpetual chatbots that learn about you and modify their own personalities over time. You can connect MemGPT to your own local filesystems and databases, as well as connect MemGPT to your own tools and APIs. The MemGPT + Chroma integration allows you to back MemGPT's memory system with Chroma. + +## MemGPT + Chroma + +To enable the Chroma storage backend in MemGPT, install the dependencies with: +``` +pip install `pymemgpt[chroma]` +``` +You can configure Chroma with both the HTTP and persistent storage client via `memgpt configure`. You will need to specify either a persistent storage path or host/port dependending on your client choice. The example below shows how to configure Chroma with local persistent storage: +``` +? Select LLM inference provider: openai +? Override default endpoint: https://api.openai.com/v1 +? Select default model (recommended: gpt-4): gpt-4 +? Select embedding provider: openai +? Select default preset: memgpt_chat +? Select default persona: sam_pov +? Select default human: cs_phd +? Select storage backend for archival data: chroma +? Select chroma backend: persistent +? Enter persistent storage location: /Users/sarahwooders/.memgpt/config/chroma +``` From b12d3a7261097f3a409e0e6e160d5513af18f1ed Mon Sep 17 00:00:00 2001 From: Charles Packer Date: Thu, 7 Dec 2023 14:27:21 -0800 Subject: [PATCH 3/3] Update memgpt.md --- docs/integrations/memgpt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/memgpt.md b/docs/integrations/memgpt.md index ed994536..aeffdc0f 100644 --- a/docs/integrations/memgpt.md +++ b/docs/integrations/memgpt.md @@ -22,5 +22,5 @@ You can configure Chroma with both the HTTP and persistent storage client via `m ? Select default human: cs_phd ? Select storage backend for archival data: chroma ? Select chroma backend: persistent -? Enter persistent storage location: /Users/sarahwooders/.memgpt/config/chroma +? Enter persistent storage location: /path/to/your/.memgpt/config/chroma ```