Commit Graph

679 Commits

Author SHA1 Message Date
Sarah Wooders
5f554d305b Increase workflow test timeout time + add test prints 2023-12-27 15:42:11 +04:00
Sarah Wooders
b8a82b9569 Use MutableJSON instead of JSONB type for metadata 2023-12-27 15:10:22 +04:00
Sarah Wooders
ba8efb03e8 Add sqlalchemy package 2023-12-27 14:58:57 +04:00
Sarah Wooders
515d9d0f62 Fix bug with chroma vector query 2023-12-27 14:40:11 +04:00
Sarah Wooders
b598f3e2d4 Re-run black formatter on resolved conflicts 2023-12-27 13:50:24 +04:00
Sarah Wooders
77e72d18da Merge branch 'main' into cherry-pick-storage-refactor 2023-12-27 13:47:27 +04:00
Sarah Wooders
545fc6cf79 ci: Run tests using postgres docker container (#715)
* use postgres docker for tests

* checkout repo

* add checkout

* remove secrets
2023-12-27 13:44:33 +04:00
Charles Packer
42e2a301eb fix: increase the func return char limit (#714)
* increase the funct return limit

* disable truncation for base search functions

* added stdout suppression to remove MockLLM warning
2023-12-27 01:33:30 -08:00
Sarah Wooders
ac89413afa ci: Run tests using postgres docker container (#715)
* use postgres docker for tests

* checkout repo

* add checkout

* remove secrets
2023-12-27 01:29:10 -08:00
Sarah Wooders
ba550fbb07 Update memgpt configure to reflect current storage connector options 2023-12-26 19:28:13 +04:00
Sarah Wooders
5b991988f6 Deprecate list_loaded_data for listing sources, and use metadata DB instead 2023-12-26 18:47:16 +04:00
Sarah Wooders
a6dd3ab4d8 Support data source deletion with 'memgpt delete source <name>' 2023-12-26 18:28:53 +04:00
Sarah Wooders
3f8b9063a1 Run black formatter 2023-12-26 17:53:57 +04:00
Sarah Wooders
0c2bf05406 Bugfixes for get_all function and code cleanup to match main 2023-12-26 17:50:49 +04:00
Sarah Wooders
11096b20a4 Set get_all limit to None by default and add postgres to archival memory tests 2023-12-26 17:07:54 +04:00
Sarah Wooders
2a4df2263f Add skeleton code for lance integration 2023-12-26 17:07:41 +04:00
Sarah Wooders
d4ddf549e3 Support attaching data sources to agents for storage refactor 2023-12-26 17:07:28 +04:00
Sarah Wooders
7a14e2020a Support 'memgpt list sources' for storage refactor 2023-12-26 17:07:18 +04:00
Sarah Wooders
b64f3aca4b Support metadata table via storage connectors for data sources 2023-12-26 17:06:58 +04:00
Sarah Wooders
deb7f3c1e1 Enable loading local agents with refactored recall memory + update MemGPTConfig to default to sqlite + chroma 2023-12-26 17:06:56 +04:00
Sarah Wooders
5002b8e1dd Add SQLite integration for recall memory 2023-12-26 17:06:56 +04:00
Sarah Wooders
e2b29d8995 Bugfixes and test updates for passing tests for both postgres and chroma 2023-12-26 17:06:18 +04:00
Sarah Wooders
b4b05bd75d Update storage tests and chroma for passing tests 2023-12-26 17:06:00 +04:00
Sarah Wooders
0e935d3ebd Add more compehensive tests, make row ids be strings (not integers) 2023-12-26 17:05:58 +04:00
Sarah Wooders
453a7c0c3e Refactor chroma integration 2023-12-26 17:05:41 +04:00
Sarah Wooders
8a3681297a Cleanup agent function linking 2023-12-26 17:05:26 +04:00
Sarah Wooders
223e196da8 Support recall and archival memory for postgres
working test
2023-12-26 17:05:24 +04:00
Sarah Wooders
408df89c9c Add in memory storage connector implementation for refactored storage 2023-12-26 17:05:24 +04:00
Sarah Wooders
d041455375 Add data_types.py file for standard data types 2023-12-26 17:05:12 +04:00
Sarah Wooders
234a444090 Define refactored storage table types (archival, recall, documents,
users, agents)
2023-12-26 17:04:11 +04:00
Charles Packer
6ab500b3b6 bump version 0.2.10 (#699) 2023-12-25 11:45:53 -08:00
Charles Packer
43ed0ff714 feat: added new 'hint' wrappers that inject hints into the pre-prefix (#707)
* added new 'hint' wrappers that inject hints into the pre-prefix

* modified basic search functions with extra input sanitization

* updated first message prefix
2023-12-25 11:29:42 -08:00
Charles Packer
3ec8bb1465 fix: misc fixes (#700)
* add folder generation

* disable default temp until more testing is done

* apply embedding payload patch to search, add input checking for better runtime error messages

* streamlined memory pressure warning now that heartbeats get forced
2023-12-25 01:29:13 -08:00
Charles Packer
e758c75e81 updated readme for quickstart (#698) 2023-12-25 00:18:36 -08:00
Charles Packer
20f5231aff feat: added basic heartbeat override heuristics (#621)
* added basic heartbeat override

* tested and working on lmstudio (patched typo + patched new bug emerging in latest lmstudio build

* added lmstudio patch to chatml wrapper

* update the system messages to be informative about the source

* updated string constants after some tuning
2023-12-24 23:46:00 -08:00
Charles Packer
6e3d9e143e set default temp to 0.8 (#696) 2023-12-24 23:36:22 -08:00
Charles Packer
6394ca73ef Added length checking to the persona/human loader functions, also updated the CLI error dump to look prettier (eg on over length errors) (#695) 2023-12-24 23:05:13 -08:00
Javier Sastre
9c00de1ff3 fix: memgpt agent ignores user messages (#679)
* Fixed bug making MemGPT ignore some user messages

* Fixed bug making MemGPTAgent ignore some user messages

* Added pre-commit fixes
2023-12-24 12:41:47 -08:00
tombedor
da90d16fe1 Fix typo in Dockerfile (#690) 2023-12-23 12:35:10 -08:00
Charles Packer
ca8352fedd fix: AutoGen error when using python <3.10 (#691) 2023-12-23 12:29:58 -08:00
Charles Packer
1c983e7a53 fix: allow edge case of quickstart before run on first install (#684) 2023-12-23 12:06:19 -08:00
Charles Packer
34e36ad8ef moved configs for hosted to https, patched bug in embedding creation (#685) 2023-12-23 11:40:07 -08:00
Charles Packer
3482a196d6 feat: improve CLI appearance (#687)
* prettified standard cli output

* also suppress stdout for agent loading

* better spacing

* added emoji to existing agent load
2023-12-23 11:39:51 -08:00
Charles Packer
7f20b63553 added docs page, updated messages about param loading to show params loaded (#688) 2023-12-23 01:48:13 -08:00
Charles Packer
5d38dd5633 bump version (bugfix release) (#683) 2023-12-22 11:25:12 -08:00
Charles Packer
0b765ee95b fix: Patch quickstart via run on empty dir (#682)
* fixed bug where memgpt run's quickstart invocation was pulling from latest instead of local

* patched missing config dir creation step
2023-12-22 11:17:47 -08:00
Charles Packer
9dfb7f27c9 add config mirrors for people on old versions (#681) 2023-12-22 10:40:36 -08:00
Charles Packer
7053d1ff8e moved configs folder inside memgpt so that it gets included with the package, updated paths (#680) 2023-12-22 10:34:04 -08:00
Sarah Wooders
3541fd0c54 bump version to 0.2.8 (#678) 2023-12-22 09:57:16 -08:00
Charles Packer
ce0c3c92d1 feat: further simplify setup flow (#673)
* made quickstart to openai or memgpt the default option when the user doesn't have a config set

* modified formatting + message styles

* revised quickstart guides in docs to talk about quickstart command

* make message consistent

---------

Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2023-12-22 13:21:25 +04:00