Commit Graph

125 Commits

Author SHA1 Message Date
Sarah Wooders
b17c653748
fix: Clean up and simplify docker entrypoint (#1235) (#1259)
Co-authored-by: Ethan Knox <norton120@gmail.com>
2024-04-18 22:39:11 -07:00
Sarah Wooders
9b69a18e30
fix: remove message UTC validation temporarily to fix dev portal + add -d flag to docker compose up for tests (#1268) 2024-04-17 19:18:13 -07:00
Sarah Wooders
dedf9440e9
fix: remove tools tests (#1236) 2024-04-10 18:34:38 -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
Sarah Wooders
a881a334d5
feat: client tests for docker compose server (#1189) 2024-03-26 18:58:00 -07:00
Sarah Wooders
42b9c0beec
feat: create memgpt server with postgres DB with docker compose up (#1183) 2024-03-25 22:32:26 -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
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
tombedor
503e812204
feat: isolate test config from main config (#1063)
Co-authored-by: Charles Packer <packercharles@gmail.com>
2024-03-05 16:21:37 -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
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
Sarah Wooders
369fe0fa84
fix: Remove usage of config.anon_clientid (#837) 2024-01-16 20:37:58 -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
Sarah Wooders
03f768868e
fix: tests should only use "openai" quickstart if `OPENAI_API_KEY is set (#801) 2024-01-09 19:13:16 -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
Sarah Wooders
20990e3787 Modify tests to use openai quickstart 2024-01-03 19:01:27 -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