-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
69 lines (59 loc) · 1.56 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "clonellm"
version = "0.4.0"
description = "Python package to create an AI clone of yourself using LLMs."
packages = [{ from = "src", include = "clonellm" }]
include = ["src/clonellm/py.typed"]
license = "MIT"
authors = ["Mehdi Samsami <[email protected]>"]
readme = "README.md"
keywords = ["python", "ai", "llm", "rag"]
repository = "https://github.com/msamsami/clonellm"
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
litellm = "^1.36.0"
langchain = "^0.1.17"
pydantic = {version = ">=2.8.0", python = ">=3.12.4"}
legacy-cgi = {version = ">=2.6.2", python = ">=3.13"}
langchain-chroma = {version = "*", optional = true}
faiss-cpu = {version = "*", optional = true}
[tool.poetry.extras]
chroma = ["langchain-chroma"]
faiss = ["faiss-cpu"]
[tool.poetry.group.dev.dependencies]
pytest = "*"
mypy = "*"
pytest-asyncio = "*"
ruff = "<1.0.0"
pre-commit = "*"
isort = "*"
[tool.mypy]
exclude=["tests", "examples"]
namespace_packages = false
files = ["src/clonellm/**/*.py"]
check_untyped_defs = true
disable_error_code = ["empty-body", "unused-ignore"]
strict = true
[[tool.mypy.overrides]]
module = [
"litellm.*",
"openai.lib.streaming",
"opentelemetry.*",
"google",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
filterwarnings = ["ignore"]
[tool.ruff]
include = ["*.py", "*.pyi", "**/pyproject.toml"]
line-length = 130
[tool.black]
line-length = 130
[tool.isort]
atomic = true
profile = "black"
skip_gitignore = true