Commit Graph

63 Commits

Author SHA1 Message Date
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
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
Charles Packer
8b2cf66eda patched asset links (#677) 2023-12-22 01:09:32 -08:00
Charles Packer
dd500e19c3 updated assets (#654) 2023-12-19 14:51:20 -08:00
Charles Packer
0fc4ae46f1 feat: Updated contributing docs (#653)
* reorganized + revised landing

* more docs

* added pic

* updated contributing

* diff

* move asset links

* hard links
2023-12-19 14:28:07 -08:00
Charles Packer
f8b99b562f feat: Migrate docs (#646)
* updated docs for readme

* Update index.md

* Update index.md

* added header

* broken link

* sync heading sizes

* fix various broken rel links

* Update index.md

* added webp

* Update index.md

* strip mkdocs/rtk files

* replaced readthedocs references with readme
2023-12-18 20:29:24 -08:00
Charles Packer
070c0123c6 migrate to using completions endpoint by default (#628)
* migrate to using completions endpoint by default

* added note about version to docs
2023-12-15 12:29:52 -08:00
Charles Packer
27eb05e7e8 Add safeguard on tokens returned by functions (#576)
* swapping out hardcoded str for prefix (forgot to include in #569)

* add extra failout when the summarizer tries to run on a single message

* added function response validation code, currently will truncate responses based on character count

* added return type hints (functions/tools should either return strings or None)

* discuss function output length in custom function section

* made the truncation more informative
2023-12-13 21:57:50 -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
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
6a155dfc90 Chroma storage integration (#285) 2023-12-05 17:49:00 -08:00
Charles Packer
1d915cce86 allow passing skip_verify to autogen constructors (#581)
* allow passing skip_verify to autogen constructors

* added flag to examples with a NOTE, also added to docs
2023-12-05 13:28:33 -08:00
Charles Packer
2fd5a14d4a Update cli_faq.md 2023-12-05 12:46:34 -08:00
Charles Packer
05df435550 Update cli_faq.md 2023-12-05 12:40:59 -08:00
Charles Packer
9e947aaf28 Update cli_faq.md 2023-12-05 12:33:50 -08:00
Charles Packer
408ccec317 Update autogen.md (#571)
Update example config to match `pyautogen==0.2.0`
2023-12-04 13:02:49 -08:00
Charles Packer
2f0e87454f Update autogen.md 2023-12-04 12:52:25 -08:00
Charles Packer
4b8ce55280 Update autogen.md to include Azure config example + patch for pyautogen>=0.2.0 (#555)
* Update autogen.md

* in groupchat example add an azure elif

* fixed missing azure mappings + corrected the gpt-4-turbo one

* Updated MemGPT AutoGen agent to take credentials and store them in the config (allows users to use memgpt+autogen without running memgpt configure), also patched api_base kwarg for autogen >=v0.2

* add note about 0.2 testing

* added overview to autogen integration page

* default examples to openai, sync config header between the two main examples, change speaker mode to round-robin in 2-way chat to supress warning

* sync config header on last example (not used in docs)

* refactor to make sure we use existing config when writing out extra credentials

* fixed bug in local LLM where we need to comment out api_type (for pyautogen>=0.2.0)
2023-12-04 12:49:08 -08:00
Alex Perez
49e8308fe7 Update storage.md (#564)
fix typo
2023-12-03 23:01:32 -08:00
Sarah Wooders
2004af555f Add docs file for customizing embedding mode (#554)
* minor fix

* forgot to add embedding file
2023-12-01 16:31:27 -08:00
Sarah Wooders
cedf8778af Add documentation for using Hugging Face models for embeddings (#549) 2023-12-01 14:36:07 -08:00
Sarah Wooders
f7b4213ef8 Fix vLLM endpoint to have correct suffix (#548)
* minor fix

* fix vllm endpoint

* fix docs
2023-12-01 14:11:05 -08:00
Charles Packer
9fc4dedd7b Update autogen.md 2023-12-01 11:36:01 -08:00
Charles Packer
69668d275b Update ollama.md 2023-12-01 11:33:18 -08:00
Charles Packer
152f78d3d8 Update ollama.md 2023-12-01 11:32:22 -08:00
Charles Packer
d24f294f2b Update ollama.md 2023-12-01 11:31:19 -08:00
Charles Packer
a344732ce1 Update vllm.md 2023-12-01 11:29:00 -08:00
Charles Packer
5d3f2f1a12 added vLLM doc page since we support it (#545)
* added vLLM doc page since we support it

* capitalization

* updated documentation
2023-12-01 11:27:24 -08:00
Charles Packer
a2bf5a2b58 update docs (#547)
* update admonitions

* Update local_llm.md

* Update webui.md

* Update autogen.md

* Update storage.md

* Update example_chat.md

* Update example_data.md

* Update example_chat.md

* Update example_data.md
2023-12-01 11:23:43 -08:00
Charles Packer
b80b816856 Update autogen.md (#544) 2023-11-30 18:12:15 -08:00
Charles Packer
8323fb6ec3 clean docs (#543) 2023-11-30 18:09:14 -08:00
Charles Packer
fe7193eea3 Documentation update (#541)
* Update autogen.md

* Update autogen.md
2023-11-30 17:52:47 -08:00
Charles Packer
e9010068a9 Update local_llm.md (#542) 2023-11-30 17:52:32 -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
0b5d921843 Update contributing.md (typo) (#538) 2023-11-30 13:29:28 -08:00
Charles Packer
89013567fa Update mkdocs theme, small fixes for mkdocs.yml (#522) 2023-11-27 16:30:41 -08:00
Charles Packer
3bc20291b4 Update contributing.md (#520) 2023-11-27 13:51:30 -08:00
Charles Packer
1a490b8aef Update contributing.md (#518) 2023-11-27 13:05:30 -08:00
Paul Asquin
20fe8ddc92 fix autogem to autogen (#512) 2023-11-27 13:00:33 -08:00
Prashant Dixit
11e11bfac4 Lancedb storage integration (#455) 2023-11-17 11:36:30 -08:00
Charles Packer
398287d1ca Add d20 function example to readthedocs (#464)
* Update functions.md

* Update functions.md
2023-11-15 16:12:16 -08:00
Charles Packer
40ecc8e7e7 Update functions.md (#461) 2023-11-15 15:51:08 -08:00
cpacker
6275a78222 missing .md file 2023-11-15 01:11:10 -08:00
Charles Packer
f63419c78b Update documentation [local LLMs, presets] (#453)
* updated local llm documentation

* updated cli flags to be consistent with documentation

* added preset documentation

* update test to use new arg

* update test to use new arg
2023-11-15 01:02:57 -08:00
Sarah Wooders
ec2bda4966 Refactor config + determine LLM via config.model_endpoint_type (#422)
* mark depricated API section

* 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

* update config fields

* cleanup config loading

* commit

* remove asserts

* refactor configure

* put into different functions

* add embedding default

* pass in config

* fixes

* allow overriding openai embedding endpoint

* black

* trying to patch tests (some circular import errors)

* update flags and docs

* patched support for local llms using endpoint and endpoint type passed via configs, not env vars

* missing files

* fix naming

* fix import

* fix two runtime errors

* patch ollama typo, move ollama model question pre-wrapper, modify question phrasing to include link to readthedocs, also have a default ollama model that has a tag included

* disable debug messages

* made error message for failed load more informative

* don't print dynamic linking function warning unless --debug

* updated tests to work with new cli workflow (disabled openai config test for now)

* added skips for tests when vars are missing

* update bad arg

* revise test to soft pass on empty string too

* don't run configure twice

* extend timeout (try to pass against nltk download)

* update defaults

* typo with endpoint type default

* patch runtime errors for when model is None

* catching another case of 'x in model' when model is None (preemptively)

* allow overrides to local llm related config params

* made model wrapper selection from a list vs raw input

* update test for select instead of input

* Fixed bug in endpoint when using local->openai selection, also added validation loop to manual endpoint entry

* updated error messages to be more informative with links to readthedocs

* add back gpt3.5-turbo

---------

Co-authored-by: cpacker <packercharles@gmail.com>
2023-11-14 15:58:19 -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
Charles Packer
6d7a1652e6 Update webui.md (#398) 2023-11-09 09:46:51 -08:00
Charles Packer
1d69ca9f0d Update webui.md (#397)
turn emoji warning into markdown warning
2023-11-09 09:42:02 -08:00