forked from camel-ai/camel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
146 lines (134 loc) · 3.04 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "camel"
version = "0.1.0"
authors = ["CAMEL-AI.org"]
description = "Communicative Agents for AI Society Study"
readme = "README.md"
keywords = [
"communicative-ai",
"ai-societies",
"artificial-intelligence",
"deep-learning",
"multi-agent-systems",
"cooperative-ai",
"natural-language-processing",
"large-language-models",
]
license = "Apache License 2.0"
homepage = "https://www.camel-ai.org/"
repository = "https://github.com/camel-ai/camel"
documentation = "https://docs.camel-ai.org"
[tool.poetry.dependencies]
python = "^3.8.1"
numpy = "^1"
openai = "^0"
tenacity = "^8"
tiktoken = "^0"
colorama = "^0"
jsonschema = "^4"
types-colorama = "^0"
types-requests = "^2"
bs4 = "^0"
protobuf = "^4"
docx2txt = "^0.8"
PyMuPDF = "^1.22.5"
pathlib = "^1.0.1"
transformers = { version = "^4", optional = true }
diffusers = { version = "^0", optional = true }
accelerate = { version = "^0", optional = true }
datasets = { version = "^2", optional = true }
torch = { version = "^1", optional = true }
soundfile = { version = "^0", optional = true }
sentencepiece = { version = "^0", optional = true }
opencv-python = { version = "^4", optional = true }
wikipedia = { version = "^1", optional = true }
[tool.poetry.extras]
huggingface-agent = [
"transformers",
"diffusers",
"accelerate",
"datasets",
"torch",
"soundfile",
"sentencepiece",
"opencv-python",
"wikipedia",
]
all = [
"transformers",
"diffusers",
"accelerate",
"datasets",
"torch",
"soundfile",
"sentencepiece",
"opencv-python",
"wikipedia",
]
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
yapf = "0.32.0"
isort = "5.12.0"
flake8 = "4.0.1"
mypy = "^1.5.1"
toml = ">=0.10.2"
pre-commit = "^3"
pytest = "^7"
pytest-cov = "^4"
gradio = "^3"
mock = "^5"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
sphinx = "^6"
sphinx_book_theme = "*"
recommonmark = "*"
[tool.yapf]
based_on_style = "pep8"
split_before_named_assigns = false
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
skip = [".gitingore", "__init__.py"]
[tool.pytest.ini_options]
pythonpath = ["."]
addopts = ["--strict-markers"]
markers = [
"very_slow: mark a very slow test to run only in full test mode",
"model_backend: for tests that require OpenAI API key or a local LLM",
]
[tool.coverage.report]
include_namespace_packages = true
[[tool.mypy.overrides]]
module = [
"transformers.*",
"packaging.*",
"tiktoken",
"openai",
"openai.error",
"tenacity",
"tenacity.stop",
"tenacity.wait",
"pytest",
"_pytest.config",
"_pytest.nodes",
"numpy",
"torch",
"sqlalchemy",
"google.cloud.sql.connector",
"gradio",
"database_connection",
"huggingface_hub",
"huggingface_hub.utils._errors",
"wikipedia",
"jsonschema.*",
"bs4.*",
"docx2txt",
"PyMuPDF",
"fitz"
]
ignore_missing_imports = true