chore: migrate package name to letta (#1775)

Co-authored-by: Charles Packer <packercharles@gmail.com>
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
This commit is contained in:
Sarah Wooders
2024-09-23 09:15:18 -07:00
committed by GitHub
parent 9ebbaacc1f
commit 8ae1e64987
337 changed files with 5528 additions and 6795 deletions

View File

@@ -1,13 +1,13 @@
---
title: Python client
excerpt: Developing using the MemGPT Python client
excerpt: Developing using the Letta Python client
category: 6580dab16cade8003f996d17
---
The fastest way to integrate MemGPT with your own Python projects is through the [client class](https://github.com/cpacker/MemGPT/blob/main/memgpt/client/client.py):
The fastest way to integrate Letta with your own Python projects is through the [client class](https://github.com/cpacker/Letta/blob/main/letta/client/client.py):
```python
from memgpt import create_client
from letta import create_client
# Connect to the server as a user
client = create_client()
@@ -23,10 +23,10 @@ agent_info = client.create_agent(
messages = client.user_message(agent_id=agent_info.id, message="Hello, agent!")
```
## More in-depth example of using the MemGPT Python client
## More in-depth example of using the Letta Python client
```python
from memgpt import create_client
from letta import create_client
# Connect to the server as a user
client = create_client()