Commit Graph

3426 Commits

Author SHA1 Message Date
Sarah Wooders
8b5fe4f383 Avoid usage of Vector type for when not using postgres 2024-01-04 09:11:23 -08:00
ifsheldon
14351bac33 Fix 'dict' object has no attribute 'name' (#781) 2024-01-04 00:06:48 -08:00
ifsheldon
8ae632fd6f fix invalid entry in response dict (#780) 2024-01-04 00:01:41 -08:00
Sarah Wooders
45e6d5793d Modify tests to use openai quickstart 2024-01-03 19:01:27 -08:00
Sarah Wooders
5de2557738 Fix bug with supporting paginated search for recall memory 2024-01-03 18:32:13 -08:00
Sarah Wooders
17506b7e90 Change Message data type to use tool format and create tool_call_id field 2024-01-03 18:03:11 -08:00
Charles Packer
21c69debca correct context window for dolph mixtral (#778) 2024-01-03 15:06:47 -08:00
Charles Packer
4f29b2d1af bump version 0.2.11 (#777) 2024-01-03 15:05:01 -08:00
Charles Packer
0609f229f6 fix: Update memgpt_coder_autogen.ipynb (#775)
* Update memgpt_coder_autogen.ipynb

* Update memgpt_coder_autogen.ipynb

* Update memgpt_coder_autogen.ipynb
2024-01-03 00:13:27 -08:00
cpacker
d0ef339a4a use --all-extras in poetry install for tests 2024-01-02 22:18:17 -08:00
cpacker
439efe4bc6 add pexpect to dev dependencies 2024-01-02 22:08:15 -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
571323c44a Update test workflow to timeout in 15 instead of 10 minutes 2024-01-02 18:06:06 -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
vinayak-revelation
cfc7f46d13 Update python_client.md (#772)
Tested this and it works. The API supports "human" and not "person" as previously stated.
2024-01-02 16:07:15 -08:00
Sarah Wooders
ad3822b8c4 Remove sqlalchemy constraint for Message object text to be non-null 2024-01-02 15:57:19 -08:00
Sarah Wooders
6aa26086ba Deprecate list_loaded_data for listing sources, and use metadata DB instead 2024-01-02 14:04:21 -08:00
cpacker
c236ba5bdb added success and fail messages to memgpt source delete 2024-01-02 13:39:26 -08:00
cpacker
e02a75d40c clean up the error messages stemming from a badly configured endpoint (bad url, url is none, etc) 2024-01-02 13:28:06 -08:00
cpacker
3de3fb8315 don't allow bad endpoint addresses during memgpt configure 2024-01-02 13:27:19 -08:00
cpacker
3fa417dcc7 added commands back 2024-01-02 13:00:59 -08:00
cpacker
b022b6e172 Merge branch 'main' into cherry-pick-storage-refactor 2024-01-02 12:21:56 -08:00
Charles Packer
323a542b8f Update local_llm_settings.md (#765) 2024-01-02 10:50:15 -08:00
Jim Lloyd
9c06056443 fix string & ws rules in json_func_calls...gbnf (#754) 2024-01-02 10:33:09 -08:00
Owen Easter
796c33f1a6 docs: linting, syntax, formatting & spelling fixes for all files (#761)
* Update README.md

* fix: 'ollama run' should be 'ollama pull'

* fix: linting, syntax, spelling corrections for all docs

* fix: markdown linting rules and missed fixes

* fix: readded space to block

* fix: changed sh blocks to text

* docs: added exception for bare urls in markdown

* docs: added exception for in-line html (MD033/no-inline-html)

* docs: made python indentation level consistent (4 space tabs) even though I prefer 2.

---------

Co-authored-by: Charles Packer <packercharles@gmail.com>
2024-01-02 10:31:50 -08:00
SaneGaming
7ea94cd058 docs: Improve Local LLM information and add WSL Troubleshooting (#752)
* Include steps for Local LLMs

Added install instructions if running LLMs locally.

* Add Windows warning

* Update installation warning for Local LLMs

Remove exact install instructions to keep page clean for QuickStart and not duplicating knowledge.

* Update local_llm_faq.md

Added WSL troubleshooting section.

* Update local_llm.md

Update FAQ Link wording

* Update local_llm_faq.md

Improve punctuation and add link to WSL Issue thread
2024-01-02 10:26:51 -08:00
Owen Easter
2e6c68215b Update README.md (#760) 2024-01-01 19:07:29 -08:00
SaneGaming
761ef19b0c Include steps for Local LLMs (#749)
Added install instructions if running LLMs locally.
2023-12-31 22:52:18 -08:00
Jim Lloyd
7ffb3c0149 feat: enum choices for list command argument (issue #732) (#746)
* enum choices for list command argument

* fixup! enum choices for list command argument
2023-12-31 13:27:10 -08:00
Charles Packer
b487366f21 Merge branch 'main' into cherry-pick-storage-refactor 2023-12-30 21:38:58 -08:00
BabellDev
b2e9a24671 feat: Add MemGPT "Python Client" (#713)
* First commit of memgpt client and some messy test code

* rolled back unnecessary changes to abstract interface; switched client to always use Queueing Interface

* Added missing interface clear() in run_command;  added convenience method for checking if an agent exists, used that in create_agent

* Formatting fixes

* Fixed incorrect naming of get_agent_memory in rest server

* Removed erroneous clear from client save method;  Replaced print statements with appropriate logger calls in server

* Updated readme with client usage instructions

* added tests for Client

* make printing to terminal togglable on queininginterface (should probably refactor this to a logger)

* turn off printing to stdout via interface by default

* allow importing the python client in a similar fashion to openai-python (see https://github.com/openai/openai-python)

* Allowed quickstart on init of client;  updated readme and test_client accordingly

* oops, fixed name of openai_api_key config key

* Fixed small typo

* Fixed broken test by adding memgpt hosted model details to agent config

* silence llamaindex 'LLM is explicitly disabled. Using MockLLM.' on server

* default to openai if user's memgpt directory is empty (first time)

* correct type hint

* updated section on client in readme

* added comment about how MemGPT config != Agent config

* patch unrelated test

* update wording on readme

* patch another unrelated test

* added python client to readme docs

* Changed 'user' to 'human' in example;  Defaulted AgentConfig.model to 'None';  Fixed issue in create_agent (accounting for dict config);  matched test code to example

* Fixed advanced example

* patch test

* patch

---------

Co-authored-by: cpacker <packercharles@gmail.com>
2023-12-30 12:43:46 -08:00
Charles Packer
0b9fdcf46c fix: added new json test case + added fix for it (also refactored clean json func) (#739) 2023-12-28 23:01:45 -08:00
Charles Packer
653693c398 feat: chatml-noforce-roles wrapper + cli fix (#738)
* added new wrapper option to turn system style messages into system role messages

* added multirole wrapper

* unrelated issue with cli print due to previous PR (not showing core memory edits)
2023-12-28 22:12:52 -08:00
Charles Packer
53500d4688 add cleanup code (#726) 2023-12-28 22:00:24 -08:00
Charles Packer
415a39cb19 docs: synced reference docs to git (#737) 2023-12-28 20:51:45 -08:00
Charles Packer
723da684b1 don't insert request heartbeat into pause heartbeat (#727) 2023-12-28 12:11:31 -08:00
Vlad Cuciureanu
5358c839ee fix: Typo in info log message and docs (#730) 2023-12-28 12:11:09 -08:00
Charles Packer
e2e2a5c78c updated CLI interface to properly print searches on archival memory + recall memory (#731) 2023-12-28 12:06:20 -08:00
Charles Packer
b5fd0d5a17 patch bug on TEI embedding lookup (#724) 2023-12-27 22:10:15 -08:00
Charles Packer
02a8a42cb0 fix: patch TEI error in load (#725)
* patch TEI error in load (now get different error)

* more hiding of MOCKLLM

* fix embedding dim

* refactored bandaid patches into custom embedding class return object patch
2023-12-27 22:09:29 -08:00
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