Commit Graph

314 Commits

Author SHA1 Message Date
Sarah Wooders
0c2bf05406 Bugfixes for get_all function and code cleanup to match main 2023-12-26 17:50:49 +04:00
Sarah Wooders
223e196da8 Support recall and archival memory for postgres
working test
2023-12-26 17:05:24 +04:00
Charles Packer
6ab500b3b6 bump version 0.2.10 (#699) 2023-12-25 11:45:53 -08:00
Charles Packer
5d38dd5633 bump version (bugfix release) (#683) 2023-12-22 11:25:12 -08:00
Sarah Wooders
3541fd0c54 bump version to 0.2.8 (#678) 2023-12-22 09:57:16 -08:00
Charles Packer
f839e0a2ea poetry add [html2text/docx2text] (#633) 2023-12-16 13:21:19 -08:00
Charles Packer
e70a59dcd4 added autogen as an extra (#616)
* added autogen as an extra

* updated docs

Co-authored-by: hemanthsavasere <hemanth.savasere@gmail.com>
2023-12-13 21:36:03 -08:00
Charles Packer
b7427e2de7 API server refactor + REST API (#593)
* init server refactor

* refactored websockets server/client code to use internal server API

* added intentional fail on test

* update workflow to try and get test to pass remotely

* refactor to put websocket code in a separate subdirectory

* added fastapi rest server

* add error handling

* modified interface return style

* disabled certain tests on remote

* added SSE response option for user_message

* fix ws interface test

* fallback for oai key

* add soft fail for test when localhost is borked

* add step_yield for all server related interfaces

* extra catch

* update toml + lock with server add-ons (add uvicorn+fastapi, move websockets to server extra)

* regen lock file

* added pytest-asyncio as an extra in dev

* add pydantic to deps

* renamed CreateConfig to CreateAgentConfig

* fixed POST request for creating agent + tested it
2023-12-11 15:08:42 -08:00
Sarah Wooders
033d9d61f4 Bump version 0.2.7 (#607) 2023-12-10 22:36:19 -08:00
Sarah Wooders
aecc4c1deb Add lancedb and chroma into default package dependencies (#605)
* add lancedb and chroma info default dependencies

* Update tests.yml

---------

Co-authored-by: Charles Packer <packercharles@gmail.com>
2023-12-10 21:20:33 -08:00
Charles Packer
b2e88da277 Patch azure embeddings + handle azure deployments properly (#594)
* Fix bug where embeddings endpoint was getting set to deployment, upgraded pinned llama-index to use new version that has azure endpoint

* updated documentation

* added memgpt example for openai

* change wording to match configure
2023-12-08 16:31:43 -08:00
Sarah Wooders
ff54e2f04a Fix pyproject.toml chroma version (#582)
* 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

* add initial postgres implementation

* working chroma loading

* add postgres tests

* working initial load into postgres and chroma

* add load index command

* semi working load index

* disgusting import code thanks to llama index's nasty APIs

* add postgres connector

* working postgres integration

* working local storage (changed saving)

* implement /attach

* remove old code

* split up storage conenctors into multiple files

* remove unused code

* cleanup

* implement vector db loading

* cleanup state savign

* add chroma

* minor fix

* fix up chroma integration

* fix list error

* update dependencies

* update docs

* format

* cleanup

* forgot to add embedding file

* upgrade llama index

* fix data source naming bug

* remove legacy

* os import

* upgrade chroma version

* fix chroma package
2023-12-05 18:40:20 -08:00
Sarah Wooders
6a155dfc90 Chroma storage integration (#285) 2023-12-05 17:49:00 -08:00
Sarah Wooders
03dee5bf0c Bump version to 0.2.6 (#573) 2023-12-04 23:04:33 -08:00
Charles Packer
dc18fd530a Add pyyaml package to pyproject.toml (#557) 2023-12-04 18:48:12 -08:00
Sarah Wooders
4bee883bf5 Upgrade to llama_index=0.9.10 (#556)
* minor fix

* forgot to add embedding file

* upgrade llama index
2023-12-01 17:45:25 -08:00
Sarah Wooders
9f9660bbf7 bump version (#551) 2023-12-01 16:10:58 -08:00
Charles Packer
b741b601fb Update AutoGen documentation and notebook example (#540)
* Update AutoGen documentation

* Update webui.md

* Update webui.md

* Update lmstudio.md

* Update lmstudio.md

* Update mkdocs.yml

* Update README.md

* Update README.md

* Update README.md

* Update autogen.md

* Update local_llm.md

* Update local_llm.md

* Update autogen.md

* Update autogen.md

* Update autogen.md

* refreshed the autogen examples + notebook (notebook is untested)

* unrelated patch of typo I noticed

* poetry remove pyautogen, then manually removed autogen extra in .toml

* add pdf dependency

---------

Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2023-11-30 17:45:04 -08:00
Sarah Wooders
2d23370930 Removing dead code + legacy commands (#536) 2023-11-30 13:37:11 -08:00
Charles Packer
5e7676e133 Remove openai package and migrate to requests (#534) 2023-11-30 13:00:13 -08:00
Sarah Wooders
eca26be7ea add autogen extra (#530) 2023-11-29 11:30:27 -08:00
Sarah Wooders
ed356dd82c Add support for HuggingFace Text Embedding Inference endpoint for embeddings (#524) 2023-11-27 16:28:49 -08:00
Sarah Wooders
58bdb1ebd0 update version (#497) 2023-11-22 08:58:24 -08:00
Prashant Dixit
11e11bfac4 Lancedb storage integration (#455) 2023-11-17 11:36:30 -08:00
Sarah Wooders
2bd7773f25 [version] bump version to 0.2.3 (#457) 2023-11-15 10:21:10 -08:00
Charles Packer
2d8c9f15a2 WebSocket interface and basic server.py process (#399) 2023-11-13 17:30:24 -08:00
Charles Packer
e5add4e430 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
46a3fd9290 [version] bump release to 0.2.2 (#436) 2023-11-13 07:13:00 -08:00
Sarah Wooders
1837665625 [version] bump version to 0.2.1 (#417) 2023-11-10 13:14:58 -08:00
Sarah Wooders
d6115d65d4 [version] bump version to 0.2.0 (#410) 2023-11-10 08:54:50 -08:00
Charles Packer
354bd520e0 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 30e911057d755f5946d7bc2ba54619b5f2e08dc3.

* 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
b068cb97b1 Update poetry with pg8000 and include pgvector in docs (#390) 2023-11-08 21:34:24 -08:00
Vivian Fang
a66d05ba9d Bump version to 0.1.18 (#351) 2023-11-06 22:07:18 -08:00
Sarah Wooders
fb29290dd4 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
f18429c416 Bump version to 0.1.18-alpha.1 2023-11-04 12:08:25 -07:00
Sarah Wooders
b9ce763fda VectorDB support (pgvector) for archival memory (#226) 2023-11-03 16:19:15 -07:00
Vivian Fang
81f33f94a0 Bump version to 0.1.17 2023-11-03 00:21:08 -07:00
Vivian Fang
80dc7a3154 Bump version to 0.1.16 2023-11-01 02:18:26 -07:00
Vivian Fang
d00032d1d1 Bump version to 0.1.15 2023-10-31 00:35:42 -07:00
Vivian Fang
446c45e9a9 Bump version to 0.1.14 2023-10-30 23:44:47 -07:00
Vivian Fang
6f4e280432 Bump version to 0.1.13 2023-10-30 21:34:09 -07:00
Vivian Fang
6c6ce2ca2d Bump version to 0.1.12 2023-10-30 18:19:27 -07:00
Sarah Wooders
23f3d42fae 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
8b86fc8f8e Fix persona selection for local LLM, bump version 2023-10-30 02:10:26 -07:00
Vivian Fang
864b416ebf Bump version 2023-10-29 22:44:40 -07:00
Vivian Fang
0c1cf4bb31 Bump version 2023-10-28 18:34:24 -07:00
Sarah Wooders
afdc79e4bd 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
7df12096d0 update poetry 2023-10-26 17:43:37 -07:00
Sarah Wooders
4a30ff19c8 Bump version to 0.1.6 2023-10-26 17:00:15 -07:00
Sarah Wooders
5c44790ad0 add black to poetry and reformat 2023-10-26 15:33:50 -07:00