Commit Graph

2146 Commits

Author SHA1 Message Date
Sarah Wooders
4cdd9ee01f feat: refactor loading and attaching data sources, and upgrade to llama-index==0.10.6 (#1016) 2024-02-18 16:57:01 -08:00
Charles Packer
dd209a3132 feat: Add API keys to memgpt server REST API (#1014) 2024-02-16 13:14:35 -08:00
Sarah Wooders
10aa6097ad refactor: store presets in database via metadata store (#1013) 2024-02-15 18:49:16 -08:00
Sarah Wooders
6ea67d4cd7 refactor: Add OpenAI assistants API endpoints to memgpt server (#1006) 2024-02-14 15:51:56 -08:00
Sarah Wooders
bf252b90f0 feat: Partial support for OpenAI-compatible assistant API (#838) 2024-02-13 16:09:20 -08:00
Sarah Wooders
1d065d3849 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
1d58e68ca4 fix: patch mem lim exceeded (#977) 2024-02-08 20:02:05 -08:00
tombedor
c8e8557c27 fix: set json loads strict to false (#946) 2024-01-31 15:50:08 -08:00
Charles Packer
5112f5e161 fix: use utf-8 encodings for all text files (#918) 2024-01-30 11:59:58 -08:00
Adam
405b3429a0 fix: Enhancements in CommonVector and test_server for Handling Data (#933) 2024-01-27 16:46:23 -08:00
Sarah Wooders
2a0bd9e1f3 fix: Check existing of migrated agents and sources in tests + fix migrated agent saving bug (#911) 2024-01-23 11:55:42 -08:00
Sarah Wooders
35b48c5fc0 fix: add Annotated to CLI options (#906)
Co-authored-by: Charles Packer <packercharles@gmail.com>
2024-01-23 11:27:24 -08:00
tombedor
570dc2a893 fix: simplify user config (#904) 2024-01-22 19:25:03 -08:00
Charles Packer
08d5fe8edd refactor: refactor MemGPT + AutoGen integration to work with MemGPT 0.2.12+ (DB release) (#905) 2024-01-22 17:49:48 -08:00
starsnatched
4c95b7bde3 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
RT
1f7f5384fb fix: Remove the hard-coded database URI in the test helper to use an env var (#865) 2024-01-20 22:56:46 -08:00
Sarah Wooders
45edc624d8 fix: Add tests for migration code and bugfix for pulling LLM/embedding configs from user instead of config (#878)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-20 22:30:08 -08:00
Sarah Wooders
73c9f8547f fix: minor fixes to allow tests to pass without OPENAI_API_KEY set (#871) 2024-01-20 15:07:16 -08:00
Sarah Wooders
4039763de5 feat: Store embeddings padded to size 4096 to allow DB storage of varying size embeddings (#852)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-19 16:03:13 -08:00
Sarah Wooders
1c93697ed2 feat: Helper script for clearing out test database for postgres (#863) 2024-01-19 15:31:40 -08:00
Charles Packer
da5a8cdbfe refactor: remove User LLM/embed. defaults, add credentials file, add authentication option for custom LLM backends (#835) 2024-01-18 16:11:35 -08:00
Sarah Wooders
2f7ccb1807 feat: Get in-context Message.id values from server (#851) 2024-01-18 12:42:55 -08:00
RT
61897921fd build: Update all actions to use cached poetry builds (#846) 2024-01-18 10:31:12 -08:00
Maximilian Winter
74c0d9af9d feat: Support pydantic models as parameters to custom functions (#839)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-17 17:21:00 -08:00
Charles Packer
c07746b097 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
9da53d1e1a fix: Remove usage of config.anon_clientid (#837) 2024-01-16 20:37:58 -08:00
Sarah Wooders
92bbf83fc9 feat: Cursor-based pagination for storage connectors and server (#830) 2024-01-16 14:45:20 -08:00
Sarah Wooders
f47e800982 feat: Add paginated memory queries (#825)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-15 21:21:58 -08:00
cpacker
78534f4852 fix: patched another test that used dummy user_id's to instead use the default user_id 2024-01-15 14:07:57 -08:00
cpacker
5799d4ab36 fix: patched another test that used dummy user_id's to instead use the default user_id 2024-01-15 14:03:39 -08:00
cpacker
41f9640364 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
ifsheldon
dd2f4fc873 fix: Turn off all ensure_ascii of json.dumps (#800) 2024-01-11 23:54:35 -08:00
Charles Packer
f118e01ad1 feat: Migration command for importing old agents into new DB backend (#802)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2024-01-11 14:57:21 -08:00
Max Blackmer
10865a4cb8 Merge branch 'main' into feature/global-logging
# Conflicts:
#	memgpt/config.py
2024-01-11 11:12:03 -05:00
Max Blackmer
abf4fb03bd [cpacker#319] fixed error with config with improper include in config.py
added test_log.py. for testing global logging in log.py
2024-01-11 10:44:20 -05:00
Charles Packer
f045c3515c feat: add_function and remove_function commands (#784) 2024-01-10 23:19:14 -08:00
Charles Packer
771eeb6a02 fix: deprecate AgentConfig in favor of AgentState. (#803) 2024-01-10 20:23:47 -08:00
Tom Bedor
0c0f269453 feat: add_function and remove_function commands
Allows for dynamic editing of user defined functions.

Disallows removing functions that are defined by MemGPT itself.
2024-01-11 00:38:40 +00:00
Sarah Wooders
d118774bb7 fix: tests should only use "openai" quickstart if `OPENAI_API_KEY is set (#801) 2024-01-09 19:13:16 -08:00
Sarah Wooders
d331c71ec3 remove AgentConfig imports 2024-01-09 11:38:46 -08:00
Sarah Wooders
54fa07da7a refactor!: Migrate users + agent information into storage connectors (#785)
Co-authored-by: cpacker <packercharles@gmail.com>
2024-01-08 15:59:49 -08:00
cpacker
e175c204b2 try another patch to recreate declarative base 2024-01-04 11:33:44 -08:00
cpacker
5b4875834f Add extra code for wiping sqlalchemy globals 2024-01-04 11:26:35 -08:00
Sarah Wooders
ed101934da Avoid usage of Vector type for when not using postgres 2024-01-04 09:23:04 -08:00
Sarah Wooders
8b5fe4f383 Avoid usage of Vector type for when not using postgres 2024-01-04 09:11:23 -08:00
Sarah Wooders
45e6d5793d Modify tests to use openai quickstart 2024-01-03 19:01:27 -08:00
cpacker
d0ef339a4a use --all-extras in poetry install for tests 2024-01-02 22:18:17 -08:00
cpacker
1f6af59e9d added a new test that makes sure the base functions are working 2024-01-02 18:20:54 -08:00
Sarah Wooders
9bd524d70a Move test_cli.py to use quickstart client 2024-01-02 17:13:25 -08:00
Sarah Wooders
e93dae02e7 Update CLI tests to use OpenAI pre-configured config 2024-01-02 16:14:22 -08:00