forked from emcie-co/parlant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
136 lines (116 loc) · 3.61 KB
/
Copy pathpyproject.toml
File metadata and controls
136 lines (116 loc) · 3.61 KB
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
[project]
name = "parlant"
version = "3.2.2"
description = ""
readme = "README.md"
license = "Apache-2.0"
authors = [
{name = "Yam Marcovitz", email = "yam@emcie.co"},
{name = "Dor Zohar", email = "dor@emcie.co"},
]
requires-python = ">=3.10,<3.15" # Restricted for torch 2.8+ compatibility with triton
dependencies = [
"aiofiles>=24.1.0",
"aiopenapi3==0.9.0",
"aiorwlock>=1.5.0",
"authlib>=1.6.5",
"boto3>=1.35.70",
"cachetools>=6.0.0",
"click>=8.1.7",
"colorama>=0.4.6",
"coloredlogs>=15.0.1",
"contextvars>=2.4",
"croniter>=5.0.1",
"fastapi>=0.120.0",
"fastmcp==2.13.0",
"httpx>=0.28.1",
"jinja2>=3.1.6",
"jsonfinder>=0.4.2",
"jsonschema>=4.23.0",
"lagom>=2.6.0",
"limits>=5.5.0",
"mcp>=1.16.0",
"more-itertools>=10.3.0",
"nano-vectordb>=0.0.4.3",
"nanoid>=2.0.0",
"networkx[default]>=3.3",
"openai>=2.8.0",
"openapi3-parser==1.1.21",
"opentelemetry-api>=1.37.0",
"opentelemetry-exporter-otlp>=1.37.0",
"opentelemetry-instrumentation>=0.58b0",
"opentelemetry-sdk>=1.37.0",
"parlant-client>=3.2.0",
"python-dateutil>=2.8.2",
"python-dotenv>=1.0.1",
"requests>=2.32.5",
"rich>=14.0.0",
"semver>=3.0.2",
"starlette>=0.49.0", # Specified for fix vulnerability of lower versions. Can be removed in case of future conflicts.
"structlog>=24.4.0",
"tabulate>=0.9.0",
"tiktoken>=0.12",
"tokenizers>=0.21",
"toml>=0.10.2",
"types-aiofiles>=24.1.0.20240626",
"types-cachetools>=6.0.0.20250525",
"types-croniter>=4.0.0.20241030",
"types-jsonschema>=4.22.0.20240610",
"uvicorn>=0.38.0",
"websocket-client>=1.5.3",
"wsproto>=1.2.0",
]
[project.scripts]
parlant = "parlant.bin.client:main"
parlant-server = "parlant.bin.server:main"
parlant-prepare-migration = "parlant.bin.prepare_migration:main"
parlant-test = "parlant.testing.cli:main"
[project.optional-dependencies]
chroma = ["chromadb>=1.1.1"]
qdrant = ["qdrant-client>=1.7.0"]
mongo = ["pymongo>=4.11.1"]
anthropic = ["anthropic>=0.60.0", "torch>=2.8.0", "transformers>=4.53.0"]
aws = ["anthropic>=0.60.0", "transformers>=4.53.0", "torch>=2.8.0"]
together = ["torch>=2.8.0", "together>=1.5.26", "transformers>=4.53.0"]
cerebras = ["cerebras-cloud-sdk>=1.25.0", "torch>=2.8.0", "transformers>=4.53.0"]
deepseek = ["torch>=2.8.0", "transformers>=4.53.0"]
gemini = ["google-genai>=1.36.0", "google-api-core>=2.24.2", "torch>=2.8.0"]
vertex = [
"google-genai>=1.36.0",
"google-api-core>=2.24.2",
"google-auth>=2.40.0",
"torch>=2.8.0",
"anthropic>=0.60.0",
"transformers>=4.53.0",
]
ollama = ["ollama>=0.5.0"]
litellm = ["litellm>=1.61.16", "torch>=2.8.0", "transformers>=4.53.0"]
azure = ["azure-identity>=1.20.0"]
# fireworks = ["fireworks-ai>=0.19.19"] # Disabled: pins protobuf=5.29.3 which has CVE-2025-4565
mistral = ["mistralai>=1.0.0"]
snowflake = ["snowflake-connector-python>=3.12.0"]
zhipu = ["zhipuai>=2.0.0"]
[dependency-groups]
dev = [
"ipython>=8.26.0",
"mypy>=1.18.1",
"pep8-naming>=0.13.3",
"pytest>=8.0.0",
"pytest-asyncio>=0.23.5",
"pytest-bdd>=8.1.0",
"pytest-cov>=5.0.0",
"pytest-tap>=3.4",
"pytest-timing @ git+https://github.com/emcie-co/mc-spitfyre.git@timing_v0.1.4#subdirectory=pytest-timing",
"python-dotenv>=1.0.1",
"ruff>=0.9.1",
"types-python-dateutil>=2.8.19.20240106",
"types-requests>=2.32.0.20240712",
"pytest-xdist>=3.6.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/parlant"]