Commit Graph

125 Commits

Author SHA1 Message Date
Matthew Zhou
151ce6f655
chore: Migrate FileMetadata to ORM (#2028) 2024-11-13 10:59:46 -08:00
Matthew Zhou
5221bf610e
feat: Move Source to ORM model (#1979) 2024-11-12 09:57:40 -08:00
Matthew Zhou
dca47fc1e4
feat: Add ability to add tags to agents (#1984) 2024-11-06 16:16:23 -08:00
Sarah Wooders
9cf16b2cfd
feat: add ability to list agents by name for REST API and python SDK (#1982) 2024-11-05 17:31:40 -08:00
Charles Packer
a5e9f7da4e
feat: added ability to disable the initial message sequence during agent creation (#1978) 2024-11-04 16:03:52 -08:00
Sarah Wooders
edebfc129f
feat: rename block.name to block.template_name for clarity and add shared block tests (#1951)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2024-11-04 11:49:16 -08:00
Matthew Zhou
5ccb1eba9b
feat: Add endpoint to add base tools to an org (#1971) 2024-11-01 15:42:43 -07:00
Charles Packer
e7b2c95df3
fix: fix bug with POST /v1/agents/messages route returning empty LettaMessage base objects (#1966) 2024-10-31 16:57:50 -07:00
Matthew Zhou
85d72284f2
fix: Fix create organization bug (#1956) 2024-10-30 13:55:48 -07:00
Matthew Zhou
c372234f13
fix: Clean up some legacy code and fix Groq provider (#1950) 2024-10-28 14:13:11 -07:00
Matthew Zhou
6b330d7376
feat: Add orm for Tools and clean up Tool logic (#1935) 2024-10-25 14:25:40 -07:00
Sarah Wooders
d84bf39c4b
chore: remove the admin client and tests (#1923) 2024-10-22 15:02:28 -07:00
Matthew Zhou
ab3431f56a
feat: Add ORM for organization model (#1914) 2024-10-22 14:47:09 -07:00
Matthew Zhou
61db7588ce
feat: Add pagination for list tools (#1907)
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-18 15:19:45 -07:00
Matthew Zhou
cd51bca3c3
feat: Add delete file from source endpoint (#1893)
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-15 15:35:58 -07:00
Matthew Zhou
9b347690d8
feat: Enable adding files (#1864)
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
2024-10-14 10:22:45 -07:00
Shubham Naik
8fc8c55f14
chore: support alembic (#1867)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-10-11 15:51:14 -07:00
Sarah Wooders
e3c22f139d
fix: delete agent-source mapping on detachment and add test (#1862) 2024-10-09 17:26:28 -07:00
Sarah Wooders
d631cec3d6
feat: require LLMConfig and EmbeddingConfig to be specified for agent creation + allow multiple simultaneous provider configs for server (#1814)
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com>
Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
Co-authored-by: Matt Zhou <mattzhou@Matts-MacBook-Pro.local>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-10-04 19:35:00 -07:00
Sarah Wooders
10cb0c118b
feat: support detaching sources from agents (#1791) 2024-09-25 15:18:46 -07:00
Sarah Wooders
14a159b09b
feat: allow jobs to be filtered by source_id (#1786) 2024-09-25 15:13:14 -07:00
Sarah Wooders
7c1ad87574
fix: deprecate local embedding tests (#1789) 2024-09-25 14:08:59 -07:00
Sarah Wooders
dda63c4d51
fix: various fixes for workflow tests (#1788) 2024-09-25 13:58:21 -07:00
Sarah Wooders
85faf5f474
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>
2024-09-23 09:15:18 -07:00
Sarah Wooders
3935a3c4df
feat: add organization endpoints and schemas (#1762) 2024-09-20 11:34:57 -07:00
Sarah Wooders
7b830a89e7
feat: return MemGPTMessage for Python Client (#1738) 2024-09-10 21:28:26 -07:00
Charles Packer
cdc55f51b8
feat: move from server.py to app.py (#1740) 2024-09-10 13:31:03 -07:00
Charles Packer
3634dba7d9
feat: allow updating Messages via the server, remap CLI commands that update messages to use server.py (#1715)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-09-08 15:24:41 -07:00
Charles Packer
341d2e104f
feat: add streaming support (both steps and tokens) to the Python REST client + pytest (#1701) 2024-09-03 16:57:57 -07:00
Sarah Wooders
b4dca3ee61
feat: add jobs routes to REST API (#1699) 2024-08-30 17:07:30 -07:00
Charles Packer
7e4ca0601a
fix: hotfix for PR #1693 (#1697) 2024-08-29 16:14:02 -07:00
Charles Packer
ffa21cc623
fix: patch core memory edit bug/regression (#1695)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-08-29 13:12:24 -07:00
Sarah Wooders
79cbcb27e6
feat: add endpoint to list agent's attached sources (#1688) 2024-08-27 13:42:41 -07:00
Sarah Wooders
7a341d1e22 feat: add endpoint to list agent attached sources 2024-08-27 13:32:21 -07:00
cpacker
348271e0ef refactor: change 'string' name to 'compile' 2024-08-26 16:39:47 -07:00
cpacker
98f82dd0c3 fix: patch another str 2024-08-26 16:36:49 -07:00
Sarah Wooders
f2dfa79432
refactor: move API to standardized pydantic schemas across CLI, Python client, REST server (#1579)
Co-authored-by: cpacker <packercharles@gmail.com>
Co-authored-by: matthew zhou <matthewzhou@matthews-MacBook-Pro.local>
Co-authored-by: Zack Field <field.zackery@gmail.com>
2024-08-16 19:53:21 -07:00
Charles Packer
55a36a6e3d
revert: #1659 (#1660) 2024-08-16 19:52:47 -07:00
Sarah Wooders
b39ad16a9d
refactor: move API to standardized pydantic schemas across CLI, Python client, REST server (cleaned up git history) (#1659)
Co-authored-by: cpacker <packercharles@gmail.com>
Co-authored-by: matthew zhou <matthewzhou@matthews-MacBook-Pro.local>
Co-authored-by: Zack Field <field.zackery@gmail.com>
Co-authored-by: robingotz <tug29225@temple.edu>
Co-authored-by: Vandracon <vandracon@yahoo.com>
Co-authored-by: Maximilian-Winter <maximilian.winter.91@gmail.com>
Co-authored-by: Scott <scott@vysona.com>
Co-authored-by: Jonathan Ward <jonathan.ward7892@gmail.com>
Co-authored-by: madgrizzle <john@thehogans.name>
Co-authored-by: Carlo <284474102@qq.com>
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com>
Co-authored-by: Robin Goetz <35136007+goetzrobin@users.noreply.github.com>
2024-08-16 19:33:47 -07:00
Sarah Wooders
3658c28ded
fix: fix CLI commands by migrating to Python client (#1563) 2024-07-23 19:52:18 -07:00
Sarah Wooders
c9f62f54de
feat: refactor CoreMemory to support generalized memory fields and memory editing functions (#1479)
Co-authored-by: cpacker <packercharles@gmail.com>
Co-authored-by: Maximilian-Winter <maximilian.winter.91@gmail.com>
2024-07-01 11:50:57 -07:00
Sarah Wooders
09f2e410f0
fix: debug logs in server (#1452) (#1457)
Co-authored-by: Ethan Knox <ethan.m.knox@gmail.com>
2024-06-16 19:21:53 -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
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
Sarah Wooders
29ae747d5c
fix: allow passing full postgres URI and only override config URI is env variables provided (#1327)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-05-03 10:39:33 -07:00
Charles Packer
ddc3dabf4f
fix: patch embedding_model null issue in tests (#1305)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-04-27 21:33:00 -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
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