Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
Update README.md
Vivian Fang94fbb765965a
diff --git a/memgpt/autogen/README.md b/memgpt/autogen/README.mdindex d70bb6e87..c01a2249d 100644--- a/memgpt/autogen/README.md+++ b/memgpt/autogen/README.md@@ -2,6 +2,7 @@[examples/agent_groupchat.py](examples/agent_groupchat.py) contains an example of a groupchat where one of the agents is powered by MemGPT.**Local LLM support**+In order to run MemGPT+Autogen on a local LLM, go to lines 32-55 in [examples/agent_groupchat.py](examples/agent_groupchat.py) and fill in the config files with your local LLM's deployment details. For example, if you are using webui, it will look something like this:```@@ -19,5 +20,9 @@ config_list_memgpt = [},]```+`config_list` is used by non-MemGPT agents, which expect an OpenAI-compatible API.++`config_list_memgpt` is used by MemGPT agents. Currently, MemGPT interfaces with the LLM backend by exporting `OPENAI_API_BASE` and `BACKEND_TYPE` as described in [Local LLM support](../local_llm). Note that MemGPT does not use the OpenAI-compatible API (it uses the direct API).-Also be sure to export `OPENAI_API_BASE` and `BACKEND_TYPE` as described in [Local LLM support](../local_llm).+If you're using WebUI and want to run the non-MemGPT agents with a local LLM instead of OpenAI, enable the [openai extension](https://github.com/oobabooga/text-generation-webui/tree/main/extensions/openai) and point `config_list`'s `api_base` to the appropriate URL (usually port 5001).+Then, for MemGPT agents, export `OPENAI_API_BASE` and `BACKEND_TYPE` as described in [Local LLM support](../local_llm) (usually port 5000).