Commit Graph

33 Commits

Author SHA1 Message Date
Sarah Wooders
6bd19e15ad
feat: Migrating CLI to run on MemGPT Client for memgpt [list/add/delete] (#1428) (#1449)
Co-authored-by: Krishna Mandal <43015249+KrishnaM251@users.noreply.github.com>
2024-06-13 16:02:59 -07:00
Sarah Wooders
b7e8a11399
fix: various fixes to python client and add tutorial notebooks (#1377) 2024-06-09 15:32:20 -07:00
Sarah Wooders
a1d56f6ae3
fix: remove server locking on agents (#1442) 2024-06-09 13:54:41 -07:00
Sarah Wooders
8fb2b618b1
feat: split up endpoint tests (#1432)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-06-04 19:03:38 -07:00
Sarah Wooders
6ebe177e37
feat: add more tool functionality for python client (#1361)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-05-13 12:05:32 -07:00
Charles Packer
a86374b464
ci: update workflows (add autoflake and isort) (#1300) 2024-04-27 11:54:34 -07:00
Sarah Wooders
048e55fe15
feat: add workflow to build + test docker container (#1278) 2024-04-21 17:58:09 -07:00
Charles Packer
eaed123af8
chore: run autoflake + isort (#1279) 2024-04-20 11:40:22 -07:00
Sarah Wooders
80f0ef507b
feat: use background tasks for processing uploaded files to REST API (#1263) 2024-04-19 18:15:30 -07:00
Sarah Wooders
2d980e4d25
feat: REST API support for tool creation (#1219)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-04-08 22:11:18 -07:00
Sarah Wooders
7f688d16b6
feat: move quickstart to use inference.memgpt.ai (#1190) 2024-03-27 17:09:11 -07:00
Charles Packer
15a149233c
fix: patch out-of-sync / missing tzinfo timestamps coming back from API server (#1182) 2024-03-26 20:37:44 -07:00
Sarah Wooders
464bda4589
feat: return num_passages in Source.metadata_ from REST list sources endpoint (#1178) 2024-03-21 15:41:31 -07:00
Charles Packer
d664e25cef
feat: move source_id to path variable (#1171) 2024-03-20 21:37:52 -07:00
Charles Packer
89cc4b98ed
feat: add Preset routes to API + patch for tool_call_id max length OpenAI error (#1165) 2024-03-20 17:05:06 -07:00
Sarah Wooders
ebfe9495e6
feat: add remaining Python client support for REST API routes + tests (#1160) 2024-03-17 17:34:37 -07:00
Charles Packer
6abe5c5d0d
fix: (1) refactor in Agent.step() to fix out-of-order timestamps, (2) bug fixes with usage of preset/human vs filename values (#1145) 2024-03-16 20:11:31 -07:00
Sarah Wooders
03e9f3ebbf
feat: implement remaining Admin routes in client and add tests (#1157) 2024-03-16 20:03:19 -07:00
Sarah Wooders
329615f2c1
fix: fix bugs for retrieving archival memory via REST API + tests (#1122) 2024-03-10 16:40:54 -07:00
Sarah Wooders
f193aa58fa
feat: Add data sources to REST API (#1118) 2024-03-10 14:34:35 -07:00
Charles Packer
dcf746cd91
feat: one time pass of autoflake + add autoflake to dev extras (#1097)
Co-authored-by: tombedor <tombedor@gmail.com>
2024-03-05 16:35:12 -08:00
Sarah Wooders
9ada3ef529
feat: Create RESTClient and Admin client for interacting with server from python (#1033) 2024-02-22 11:16:01 -08:00
Sarah Wooders
c7fbc03e68
refactor: store presets in database via metadata store (#1013) 2024-02-15 18:49:16 -08:00
Sarah Wooders
c38167ecda
fix: Automatically create User from MemGPTConfig.anon_clientid from client if does not exist (#981) 2024-02-09 14:54:52 -08:00
starsnatched
aff152061b
feat: Benchmark Command: memgpt benchmark (#816)
Co-authored-by: Starlette <starlette@Starlettes-MacBook-Pro.local>
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-21 00:57:01 -08:00
Charles Packer
d1b1548ba0
refactor: Use Message types inside Agent state (agent.messages), enabling immediate tracking of Message objects (#836)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-01-17 17:02:56 -08:00
cpacker
3f079caaf6 fix: fixed the type hints in server to use uuid, patched tests that used strings as dummy users 2024-01-15 14:01:06 -08:00
cpacker
bb603cb82e updated client code to match refactored server code 2024-01-11 14:49:46 +01:00
Sarah Wooders
18d33e9557 remove AgentConfig imports 2024-01-09 11:38:46 -08:00
Sarah Wooders
b825e5664a Remove usage of agent_config from agent.py 2024-01-09 11:22:39 -08:00
Sarah Wooders
8c06cc4bf7
refactor!: Migrate users + agent information into storage connectors (#785)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-08 15:59:49 -08:00
ifsheldon
47a31d3017
Fix 'dict' object has no attribute 'name' (#781) 2024-01-04 00:06:48 -08:00
BabellDev
8736d46526
feat: Add MemGPT "Python Client" (#713)
* First commit of memgpt client and some messy test code

* rolled back unnecessary changes to abstract interface; switched client to always use Queueing Interface

* Added missing interface clear() in run_command;  added convenience method for checking if an agent exists, used that in create_agent

* Formatting fixes

* Fixed incorrect naming of get_agent_memory in rest server

* Removed erroneous clear from client save method;  Replaced print statements with appropriate logger calls in server

* Updated readme with client usage instructions

* added tests for Client

* make printing to terminal togglable on queininginterface (should probably refactor this to a logger)

* turn off printing to stdout via interface by default

* allow importing the python client in a similar fashion to openai-python (see https://github.com/openai/openai-python)

* Allowed quickstart on init of client;  updated readme and test_client accordingly

* oops, fixed name of openai_api_key config key

* Fixed small typo

* Fixed broken test by adding memgpt hosted model details to agent config

* silence llamaindex 'LLM is explicitly disabled. Using MockLLM.' on server

* default to openai if user's memgpt directory is empty (first time)

* correct type hint

* updated section on client in readme

* added comment about how MemGPT config != Agent config

* patch unrelated test

* update wording on readme

* patch another unrelated test

* added python client to readme docs

* Changed 'user' to 'human' in example;  Defaulted AgentConfig.model to 'None';  Fixed issue in create_agent (accounting for dict config);  matched test code to example

* Fixed advanced example

* patch test

* patch

---------

Co-authored-by: cpacker <packercharles@gmail.com>
2023-12-30 12:43:46 -08:00