graphiti/pyproject.toml
Preston Rasmussen 0f50b74735
Set max tokens by prompt (#255)
* set max tokens

* update generic openai client

* mypy updates

* fix: dockerfile

---------

Co-authored-by: paulpaliychuk <pavlo.paliychuk.ca@gmail.com>
2025-01-24 10:14:49 -05:00

78 lines
1.5 KiB
TOML

[tool.poetry]
name = "graphiti-core"
version = "0.5.2"
description = "A temporal graph building library"
authors = [
"Paul Paliychuk <paul@getzep.com>",
"Preston Rasmussen <preston@getzep.com>",
"Daniel Chalef <daniel@getzep.com>",
]
readme = "README.md"
license = "Apache-2.0"
packages = [{ include = "graphiti_core", from = "." }]
[tool.poetry.dependencies]
python = "^3.10"
pydantic = "^2.8.2"
neo4j = "^5.23.0"
diskcache = "^5.6.3"
openai = "^1.53.0"
tenacity = "9.0.0"
numpy = ">=1.0.0"
python-dotenv = "^1.0.1"
[tool.poetry.dev-dependencies]
pytest = "^8.3.3"
pytest-asyncio = "^0.24.0"
pytest-xdist = "^3.6.1"
ruff = "^0.7.1"
[tool.poetry.group.dev.dependencies]
pydantic = "^2.8.2"
mypy = "^1.11.1"
groq = ">=0.9,<0.12"
anthropic = ">=0.34.1,<0.36.0"
ipykernel = "^6.29.5"
jupyterlab = "^4.2.4"
diskcache-stubs = "^5.6.3.6.20240818"
langgraph = "^0.2.15"
langchain-anthropic = "^0.2.4"
langsmith = "^0.1.108"
langchain-openai = "^0.2.6"
sentence-transformers = "^3.2.1"
transformers = "^4.45.2"
voyageai = "^0.2.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
pythonpath = ["."]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
docstring-code-format = true