* 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>
58 lines
1.8 KiB
TOML
58 lines
1.8 KiB
TOML
[tool.poetry]
|
|
name = "pymemgpt"
|
|
version = "0.1.18"
|
|
packages = [
|
|
{include = "memgpt"}
|
|
]
|
|
description = "Teaching LLMs memory management for unbounded context"
|
|
authors = [
|
|
"Charles Packer <contact@charlespacker.com>",
|
|
"Vivian Fang <hi@vivi.sh>",
|
|
"Sarah Wooders <sarahwooders@gmail.com>",
|
|
"Shishir Patil <shishirpatil@berkeley.edu>",
|
|
"Kevin Lin <kevinlin@eecs.berkeley.edu>"
|
|
]
|
|
license = "Apache License"
|
|
readme = "README.md"
|
|
|
|
[tool.poetry.scripts]
|
|
memgpt = "memgpt.main:app"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "<3.12,>=3.9"
|
|
typer = {extras = ["all"], version = "^0.9.0"}
|
|
questionary = "^2.0.1"
|
|
demjson3 = "^3.0.6"
|
|
numpy = "^1.26.1"
|
|
pytz = "^2023.3.post1"
|
|
faiss-cpu = { version = "^1.7.4", optional = true }
|
|
tiktoken = "^0.5.1"
|
|
pymupdf = "^1.23.5"
|
|
tqdm = "^4.66.1"
|
|
openai = "^0.28.1"
|
|
black = { version = "^23.10.1", optional = true }
|
|
pytest = { version = "^7.4.3", optional = true }
|
|
llama-index = "^0.8.53.post3"
|
|
setuptools = "^68.2.2"
|
|
datasets = { version = "^2.14.6", optional = true}
|
|
prettytable = "^3.9.0"
|
|
pgvector = { version = "^0.2.3", optional = true }
|
|
psycopg = { version = "^3.1.12", optional = true }
|
|
psycopg-binary = { version = "^3.1.12", optional = true }
|
|
psycopg2-binary = { version = "^2.9.9", optional = true }
|
|
huggingface-hub = { version = "0.17.3", optional = true }
|
|
transformers = { version = "4.34.1", optional = true }
|
|
pre-commit = {version = "^3.5.0", optional = true }
|
|
pg8000 = {version = "^1.30.3", optional = true}
|
|
torch = {version = ">=2.0.0, !=2.0.1, !=2.1.0", optional = true}
|
|
|
|
[tool.poetry.extras]
|
|
legacy = ["faiss-cpu", "numpy"]
|
|
local = ["torch", "huggingface-hub", "transformers"]
|
|
postgres = ["pgvector", "psycopg", "psycopg-binary", "psycopg2-binary", "pg8000"]
|
|
dev = ["pytest", "black", "pre-commit", "datasets"]
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|