Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
docs: Fix client README example (#984)
Sarah Woodersf042dc4e73a4
diff --git a/README.md b/README.mdindex c5a023309..e0728e27f 100644--- a/README.md+++ b/README.md@@ -7,7 +7,7 @@<strong>MemGPT allows you to build LLM agents with self-editing memory</strong><strong>Try out our MemGPT chatbot on <a href="https://discord.gg/9GEQrxmVyE">Discord</a>!</strong>-+<strong>You can now run MemGPT with <a href="https://memgpt.readme.io/docs/local_llm">open/local LLMs</a> and <a href="https://memgpt.readme.io/docs/autogen">AutoGen</a>!</strong>@@ -142,7 +142,7 @@ client = MemGPT()# You can set many more parameters, this is just a basic example-agent_id = client.create_agent(+agent_state = client.create_agent(agent_config={"persona": "sam_pov","human": "cs_phd",@@ -152,7 +152,7 @@ agent_id = client.create_agent(# Now that we have an agent_name identifier, we can send it a message!# The response will have data from the MemGPT agentmy_message = "Hi MemGPT! How's it going?"-response = client.user_message(agent_id=agent_id, message=my_message)+response = client.user_message(agent_id=agent_state.id, message=my_message)```<details>