Commit Graph

6949 Commits

Author SHA1 Message Date
Vivian Fang
a42d4341a2 Run tests on basic-tests branch 2023-11-01 13:52:55 -07:00
Vivian Fang
bd5320b5dd Update README.md 2023-11-01 02:33:48 -07:00
Charles Packer
66f0d4336d Update README.md 2023-11-01 02:23:51 -07:00
Vivian Fang
80dc7a3154 Bump version to 0.1.16 2023-11-01 02:18:26 -07:00
cpacker
205226ea5e bump trunc length assuming mistral 2023-11-01 02:11:45 -07:00
Vivian Fang
79b72fd7ae await async_get_embeddings_with_backoff (#239) 2023-11-01 01:43:17 -07:00
Charles Packer
8e35c44881 fixed load loading from wrong directory (#237)
* fixed load loading from wrong directory

* typos
2023-11-01 01:28:32 -07:00
Charles Packer
f889f24643 Allow MemGPT to read/write text files + make HTTP requests (#174)
* added file read/write

* added HTTP requests

* black on utils.py
2023-11-01 01:08:44 -07:00
Sarah Wooders
f765290cfb Update README for CLI changes (#207)
* 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
2023-11-01 01:03:41 -07:00
Charles Packer
250252f105 len needs to be implemented in all memory classes (#236)
* len needs to be implemented in all memory classes so that the pretty print of memory shows statistics

* stub
2023-11-01 01:02:25 -07:00
Vivian Fang
5a60e92e8d Support for MemGPT + Autogen + Local LLM (#231)
* various fixes to get autogen working again

* MemGPT+Autogen+Local LLM example working

Co-Authored-By: nmx0 <nmx0@users.noreply.github.com>

* propagate model to other memgpt_agent constructor

* fix agent_groupchat

* tested on lm studio

---------

Co-authored-by: nmx0 <nmx0@users.noreply.github.com>
Co-authored-by: cpacker <packercharles@gmail.com>
2023-11-01 00:14:40 -07:00
Charles Packer
8e6b0d6f6f Update tests.yml
temporarily disable broken test
2023-11-01 00:14:16 -07:00
Charles Packer
884a9edac7 Update issue templates 2023-10-31 16:36:22 -07:00
Charles Packer
0f6a993f37 Update bug_report.md 2023-10-31 16:35:03 -07:00
Charles Packer
8cd66e772c Update bug_report.md 2023-10-31 16:32:53 -07:00
Charles Packer
0cc15c9165 Update bug_report.md 2023-10-31 16:32:27 -07:00
Charles Packer
731671972f Update bug_report.md 2023-10-31 16:31:37 -07:00
Charles Packer
7095e2581c Update issue templates 2023-10-31 16:30:46 -07:00
Charles Packer
351dc4ef22 Update tests.yml 2023-10-31 15:31:56 -07:00
Charles Packer
6f8db9b7f3 Create tests.yml 2023-10-31 15:14:37 -07:00
Vivian Fang
bcb9f7f3c7 Break out of loop if agent.step succeeds 2023-10-31 14:34:32 -07:00
Sarah Wooders
c9225d329e Cli bug fixes (loading human/persona text, azure setup, local setup) (#222)
* 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

* revert readme

* remove print
2023-10-31 13:51:20 -07:00
Charles Packer
4fc88f95f1 Update black_format.yml 2023-10-31 13:47:41 -07:00
cpacker
92be6d1ff9 changed alt system naming 2023-10-31 12:21:28 -07:00
tractorjuice
449df7eeec Create memgpt_chat_spr.txt (#158)
This version of the prompt compressed using SPR seems to work well, but needs more testing.
2023-10-31 12:18:39 -07:00
sk
9fa75e1752 Added db load ability (#106)
* Added db load ability, updated README

* Fixed spacing on multiplication

* Fixed double quotes

* Added double quotes to .db

* After reading the code, realized we can return here for .db extension, and let main handle loading the .db into archival memory.
Issue is that the final else was treating the db as a file and reading it in raw, causing issues.

* Removed .csv reference, not currently working.
2023-10-31 12:18:12 -07:00
Web 3 Wes
e9e5d341a6 update max new tokens (#182)
Co-authored-by: Clarence Jones <wes@Clarences-MacBook-Pro.local>
2023-10-31 12:16:11 -07:00
Vivian Fang
d6c3f0ea0f Gracefully catch errors when running agent.step() (#216)
* Gracefully catch errors when running agent.step()

* Modify retry message
2023-10-31 12:12:07 -07:00
Charles Packer
4e440404ff patch bug (#221) 2023-10-31 11:43:38 -07:00
Vivian Fang
d00032d1d1 Bump version to 0.1.15 2023-10-31 00:35:42 -07:00
Vivian Fang
0ac2ac10db Fix conversation_date_search async bug (#215)
* Fix conversation_date_search async bug

* Also catch TypeError
2023-10-31 00:35:09 -07:00
Vivian Fang
446c45e9a9 Bump version to 0.1.14 2023-10-30 23:44:47 -07:00
raisindetre
12ca6e98af Changes to lmstudio to fix JSON decode error (#208)
* Changes to lmstudio to fix JSON decode error

* black formatting

* properly handle context overflow error (propogate exception up the stack with recognizable error message) + add backwards compat option to use completions endpoint

* set max tokens to 8k, comment out the overflow policy (use memgpt's overflow policy)

* 8k not 3k

---------

Co-authored-by: Matt Poff <mattpoff@Matts-MacBook-Pro-2.local>
Co-authored-by: cpacker <packercharles@gmail.com>
2023-10-30 23:08:00 -07:00
Vivian Fang
6f4e280432 Bump version to 0.1.13 2023-10-30 21:34:09 -07:00
Vivian Fang
c50c00132b initialize memgpt agent config with same name passed in (#211) 2023-10-30 21:33:27 -07:00
Vivian Fang
2a54511e52 hotfix LocalArchivalMemory (#209) 2023-10-30 20:37:33 -07:00
Vivian Fang
6c6ce2ca2d Bump version to 0.1.12 2023-10-30 18:19:27 -07:00
Vivian Fang
2734890da3 Refactor autogen agent to use sync memgpt, add notebook example (#157)
* Refactor autogen agent to use sync memgpt, add notebook example

* Add colab badge to notebook

* Update colab badge to point to main

* Add imports lost in the merge

* Changes to make autogenagent work with cli refactor
2023-10-30 18:09:51 -07:00
Sarah Wooders
8ab04772ec Update requirements.txt with prettytable 2023-10-30 18:04:26 -07:00
Charles Packer
7fe659834c Update agent_groupchat.py 2023-10-30 17:32:19 -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
5a6b0ef1e8 Hotfix bug from async refactor (#203) 2023-10-30 15:38:25 -07:00
Charles Packer
cc84d46d8b added more clear warnings for when HOST and HOST_TYPE are not set (#202) 2023-10-30 14:14:52 -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
e7caf22f49 Fix summarizer bug in async agent (#195) 2023-10-29 22:43:17 -07:00
tractorjuice
fcbf21419f Update agent.py (#185)
Fix missing bracket in construct_system_with_memory
2023-10-29 21:46:23 -07:00
Charles Packer
e47336ed48 black format patch for zephyr pr 2023-10-29 21:34:32 -07:00
Kamelowy
11d576f7e6 New wrapper for Zephyr models + little fix in memory.py (#183)
* VectorIndex -> VectorStoreIndex

VectorStoreIndex is imported but non-existent VectorIndex is used.

* New wrapper for Zephyr family of models.

With inner thoughts.

* Update chat_completion_proxy.py for Zephyr Wrapper
2023-10-29 21:17:01 -07:00
Charles Packer
819028d136 azure typo patch (#192)
* azure typo patch

* Make azure embeddings var consistent

---------

Co-authored-by: Vivian Fang <hi@vivi.sh>
2023-10-29 21:04:49 -07:00