Commit Graph

288 Commits

Author SHA1 Message Date
Charles Packer
b789549d02
Configurable presets to support easy extension of MemGPT's function set (#420)
* partial

* working schema builder, tested that it matches the hand-written schemas

* correct another schema diff

* refactor

* basic working test

* refactored preset creation to use yaml files

* added docstring-parser

* add code for dynamic function linking in agent loading

* pretty schema diff printer

* support pulling from ~/.memgpt/functions/*.py

* clean

* allow looking for system prompts in ~/.memgpt/system_prompts

* create ~/.memgpt/system_prompts if it doesn't exist

* pull presets from ~/.memgpt/presets in addition to examples folder

* add support for loading agent configs that have additional keys

---------

Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2023-11-13 10:43:28 -08:00
Charles Packer
e4eec4ad04
[version] bump release to 0.2.2 (#436) 2023-11-13 07:13:00 -08:00
Sarah Wooders
3df7989e64
[version] bump version to 0.2.1 (#417) 2023-11-10 13:14:58 -08:00
Sarah Wooders
2ecc45c8ce
[version] bump version to 0.2.0 (#410) 2023-11-10 08:54:50 -08:00
Charles Packer
055bc805b7
softpass test when keys are missing (#369)
* softpass test when keys are missing

* update to use local model

* both openai and local

* typo

* fix

* Specify model inference and embedding endpoint separately  (#286)

* Fix config tests (#343)

Co-authored-by: Vivian Fang <hi@vivi.sh>

* Avoid throwing error for older `~/.memgpt/config` files due to missing section `archival_storage` (#344)

* avoid error if has old config type

* Dependency management  (#337)

* Divides dependencies into `pip install pymemgpt[legacy,local,postgres,dev]`. 
* Update docs

* Relax verify_first_message_correctness to accept any function call (#340)

* Relax verify_first_message_correctness to accept any function call

* Also allow missing internal monologue if request_heartbeat

* Cleanup

* get instead of raw dict access

* Update `poetry.lock` (#346)

* mark depricated API section

* add readme

* add readme

* add readme

* add readme

* add readme

* add readme

* add readme

* add readme

* add readme

* CLI bug fixes for azure

* check azure before running

* Update README.md

* Update README.md

* bug fix with persona loading

* remove print

* make errors for cli flags more clear

* format

* fix imports

* fix imports

* add prints

* update lock

* Add autogen example that lets you chat with docs (#342)

* Relax verify_first_message_correctness to accept any function call

* Also allow missing internal monologue if request_heartbeat

* Cleanup

* get instead of raw dict access

* Support attach in memgpt autogen agent

* Add docs example

* Add documentation, cleanup

* add gpt-4-turbo (#349)

* add gpt-4-turbo

* add in another place

* change to 3.5 16k

* Revert relaxing verify_first_message_correctness, still add archival_memory_search as an exception (#350)

* Revert "Relax verify_first_message_correctness to accept any function call (#340)"

This reverts commit 30e911057d.

* add archival_memory_search as an exception for verify

* Bump version to 0.1.18 (#351)

* Remove `requirements.txt` and `requirements_local.txt` (#358)

* update requirements to match poetry

* update with extras

* remove requirements

* disable pretty exceptions (#367)

* Updated documentation for users (#365)


---------

Co-authored-by: Vivian Fang <hi@vivi.sh>

* Create pull_request_template.md (#368)

* Create pull_request_template.md

* Add pymemgpt-nightly workflow (#373)

* Add pymemgpt-nightly workflow

* change token name

* Update lmstudio.md (#382)

* Update lmstudio.md

* Update lmstudio.md

* Update lmstudio.md to show the Prompt Formatting Option (#384)

* Update lmstudio.md to show the Prompt Formatting Option

* Update lmstudio.md Update the screenshot

* Swap asset location from #384 (#385)

* Update poetry with `pg8000` and include `pgvector` in docs  (#390)

* Allow overriding config location with `MEMGPT_CONFIG_PATH` (#383)

* Always default to local embeddings if not OpenAI or Azure  (#387)

* Add support for larger archival memory stores (#359)

* Replace `memgpt run` flags error with warning + remove custom embedding endpoint option + add agent create time (#364)

* Update webui.md (#397)

turn emoji warning into markdown warning

* Update webui.md (#398)

* dont hard code embeddings

* formatting

* black

* add full deps

* remove changes

* update poetry

---------

Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
Co-authored-by: Vivian Fang <hi@vivi.sh>
Co-authored-by: MSZ-MGS <65172063+MSZ-MGS@users.noreply.github.com>
2023-11-09 12:11:19 -08:00
Sarah Wooders
5ef37ce277
Update poetry with pg8000 and include pgvector in docs (#390) 2023-11-08 21:34:24 -08:00
Vivian Fang
7d6aa4096d
Bump version to 0.1.18 (#351) 2023-11-06 22:07:18 -08:00
Sarah Wooders
b1c5566168
Dependency management (#337)
* Divides dependencies into `pip install pymemgpt[legacy,local,postgres,dev]`. 
* Update docs
2023-11-06 19:45:44 -08:00
Vivian Fang
8050564c5f Bump version to 0.1.18-alpha.1 2023-11-04 12:08:25 -07:00
Sarah Wooders
2492db6b59
VectorDB support (pgvector) for archival memory (#226) 2023-11-03 16:19:15 -07:00
Vivian Fang
4a014979b0 Bump version to 0.1.17 2023-11-03 00:21:08 -07:00
Vivian Fang
cbdc2e9d82 Bump version to 0.1.16 2023-11-01 02:18:26 -07:00
Vivian Fang
7ccfe5e951 Bump version to 0.1.15 2023-10-31 00:35:42 -07:00
Vivian Fang
d69f76a7f1 Bump version to 0.1.14 2023-10-30 23:44:47 -07:00
Vivian Fang
4c8be367d9 Bump version to 0.1.13 2023-10-30 21:34:09 -07:00
Vivian Fang
7694ae290f Bump version to 0.1.12 2023-10-30 18:19:27 -07:00
Sarah Wooders
b7f9560bef
Refactoring CLI to use config file, connect to Llama Index data sources, and allow for multiple agents (#154)
* Migrate to `memgpt run` and `memgpt configure` 
* Add Llama index data sources via `memgpt load` 
* Save config files for defaults and agents
2023-10-30 16:47:54 -07:00
Vivian Fang
ba83873922 Fix persona selection for local LLM, bump version 2023-10-30 02:10:26 -07:00
Vivian Fang
b037c27e3d Bump version 2023-10-29 22:44:40 -07:00
Vivian Fang
df58bc46a8 Bump version 2023-10-28 18:34:24 -07:00
Sarah Wooders
23e5221b29
Merge pull request #146 from sarahwooders/main
Support loading data into archival with Llama Index connectors
2023-10-27 13:28:26 -07:00
Sarah Wooders
18f14968b5 update poetry 2023-10-26 17:43:37 -07:00
Sarah Wooders
32dbf25a62
Bump version to 0.1.6 2023-10-26 17:00:15 -07:00
Sarah Wooders
01be032f7f add black to poetry and reformat 2023-10-26 15:33:50 -07:00
Vivian Fang
f55858b553 bump version 2023-10-26 10:57:09 -07:00
Vivian Fang
cecedaf22c bump version 2023-10-25 16:52:38 -07:00
Vivian Fang
62b9123697 bump version 2023-10-25 16:52:38 -07:00
Vivian Fang
f48c81d9a0 Revert "Revert "cleanup""
This reverts commit 6cd2a0049b.
2023-10-25 12:42:35 -07:00
Vivian Fang
6cd2a0049b Revert "cleanup"
This reverts commit 85d9fba811, reversing
changes made to a7e06d0acc.
2023-10-25 01:02:43 -07:00
Vivian Fang
fde50496ec config hotfix for pymemgpt, bump version 2023-10-24 15:48:30 -07:00
Vivian Fang
b10a545993 Bump version 2023-10-24 13:56:28 -07:00
Vivian Fang
f6faadd070 remove absl, update poetry.lock 2023-10-23 18:18:49 -07:00
Vivian Fang
e91709de14 update authors 2023-10-23 17:49:20 -07:00
Vivian Fang
3393d790c0 update authors 2023-10-23 17:45:10 -07:00
Sarah Wooders
7098090208 fix typo 2023-10-23 15:58:11 -07:00
Sarah Wooders
74b5d7883b Update package authors 2023-10-23 14:49:40 -07:00
Sarah Wooders
e132a291a0 working poetry package 2023-10-23 14:39:43 -07:00
Sarah Wooders
8b2d6e3e8e add poetry 2023-10-23 14:11:49 -07:00