forked from Chainlit/chainlit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
107 lines (95 loc) · 2.31 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
[tool.poetry]
name = "chainlit"
version = "1.0.502"
keywords = ['LLM', 'Agents', 'gen ai', 'chat ui', 'chatbot ui', 'openai', 'copilot', 'langchain', 'conversational ai']
description = "Build Conversational AI."
authors = ["Chainlit"]
license = "Apache-2.0 license"
repository = "https://github.com/Chainlit/chainlit"
readme = "README.md"
exclude = [
"**/frontend/**/*",
"**/copilot/**/**/",
]
include = [
"**/frontend/dist/**/*",
"**/copilot/dist/**/*",
]
[tool.poetry.scripts]
# command_name = module_for_handler : function_for_handler
chainlit = 'chainlit.cli:cli'
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0.0"
httpx = ">=0.23.0"
literalai = "0.0.500"
dataclasses_json = "^0.5.7"
fastapi = "^0.110.1"
starlette = "^0.37.2"
uvicorn = "^0.25.0"
fastapi-socketio = "^0.0.10"
aiofiles = "^23.1.0"
syncer = "^2.0.3"
asyncer = "^0.0.2"
nest-asyncio = "^1.5.6"
click = "^8.1.3"
tomli = "^2.0.1"
pydantic = ">=1,<3"
python-graphql-client = "^0.4.3"
python-dotenv = "^1.0.0"
uptrace = "^1.22.0"
watchfiles="^0.20.0"
filetype = "^1.2.0"
lazify = "^0.4.0"
packaging = "^23.1"
python-multipart = "^0.0.9"
pyjwt = "^2.8.0"
[tool.poetry.group.tests]
optional = true
[tool.poetry.group.tests.dependencies]
openai = "^1.11.1"
langchain = "^0.1.5"
llama-index = "^0.10.15"
transformers = "^4.30.1"
matplotlib = "3.7.1"
farm-haystack = "^1.18.0"
plotly = "^5.18.0"
[tool.poetry.group.mypy]
optional = true
[tool.poetry.group.mypy.dependencies]
mypy = "^1.7.1"
types-requests = "^2.31.0.2"
types-aiofiles = "^23.1.0.5"
[tool.mypy]
python_version = "3.8"
[[tool.mypy.overrides]]
module = [
"anthropic",
"huggingface_hub.inference_api",
"fastapi_socketio",
"filetype",
"haystack.*",
"langflow",
"lazify",
"matplotlib.*", # remove when 3.8.0 is out, it should export types
"plotly.*",
"nest_asyncio",
"python_graphql_client",
"socketio.*",
"uptrace",
"syncer",
"vertexai.language_models",
"vertexai.preview.generative_models",
"google.cloud"
]
ignore_missing_imports = true
[tool.poetry.group.custom-data]
optional = true
[tool.poetry.group.custom-data.dependencies]
asyncpg = "^0.29.0"
SQLAlchemy = "^2.0.28"
boto3 = "^1.34.73"
azure-identity = "^1.14.1"
azure-storage-file-datalake = "^12.14.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"