-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
137 lines (125 loc) · 2.89 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
[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"
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"
isort = "^5"
flake8 = "^6"
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 = [
"full_test_only: mark a test to run only in full test mode",
"slow: mark a test as slow",
"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",
]
ignore_missing_imports = true