-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
111 lines (102 loc) · 2.88 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
[project]
name = "MUCGPT"
version = "1.2.1"
description = "a web interface for large language models for the public administration"
readme = "README.md"
requires-python= ">=3.10"
authors = [
{ name = "Michael Jaumann", email = "[email protected]" },
{ name = "Paul Ilitz", email = "[email protected]" },
]
maintainers = [
{ name = " ITM KICC", email = "[email protected]" },
{ name = "Michael Jaumann", email = "[email protected]" },
{ name = "Paul Ilitz", email = "[email protected]" },
]
dependencies = [
"mistral-common==1.5.1",
"fastapi[standard]==0.115.6",
"langchain==0.3.14",
"langchain-core==0.3.29",
"langchain_community==0.3.14",
"langchain-openai==0.2.14",
"openai==1.59.4",
"langsmith==0.2.10",
"joserfc",
"tiktoken",
"pypdf==5.1.0",
"uvicorn==0.34.0",
"psycopg2-binary==2.9.10",
"asgi-correlation-id==4.3.4",
"gunicorn",
"sqlalchemy==2.0.36",
"gitpython==3.1.44",
]
[project.optional-dependencies]
test = [
"pytest-env",
"pytest",
"pytest-asyncio",
"pytest-snapshot",
"pytest-mock",
"coverage==7.6.10",
"pytest-cov"
]
[tool.uv]
dev-dependencies = [
"ipykernel==6.29.5",
"pre-commit==4.0.1",
"ruff==0.8.6",
]
[[tool.uv.index]]
name = "pypy"
url = "https://pypi.org/simple"
[tool.ruff]
target-version = "py38"
src = ["app/backend"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
ignore = ["E501", "E701"] # line too long, multiple statements on one line
[tool.pytest.ini_options]
addopts = "-ra --cov"
pythonpath = ["app/backend"]
testpaths = [
"tests"]
markers = [
"integration: mark a test as a integration test",
"unit: mark test as a unit test"
]
env = [
"LOG_CONFIG=app/backend/logconf.yaml",
"FRONTEND_LABELS_ENV_NAME=MUCGPT",
"FRONTEND_ALTERNATIVE_LOGO=false",
"BACKEND_ENABLE_AUTH=false",
"BACKEND_ENABLE_DATABASE=false",
"BACKEND_UNAUTHORIZED_USER_REDIRECT_URL=NOT USED",
"BACKEND_SSO_ISSUER=NOT USED",
"BACKEND_SSO_ROLE=lhm-ab-mucgpt-user",
"BACKEND_DB_HOST=NOT USED",
"BACKEND_DB_NAME=NOT USED",
"BACKEND_DB_USER=NOT USED",
"BACKEND_DB_PASSWORD=NOT USED",
"BACKEND_CHAT_LOG_TOKENS=false",
"BACKEND_BRAINSTORM_LOG_TOKENS=false",
"BACKEND_SUM_LOG_TOKENS=false",
"BACKEND_SIMPLY_LOG_TOKENS=false",
"BACKEND_MODEL_1_TYPE=AZURE",
"BACKEND_MODEL_1_LLM_NAME=TEST_MODEL",
"BACKEND_MODEL_1_DEPLOYMENT=NOT USED",
"BACKEND_MODEL_1_ENDPOINT=https://myfakeendpoint.com",
"BACKEND_MODEL_1_API_KEY=NOT USED",
"BACKEND_MODEL_1_MAX_OUTPUT_TOKENS=128000",
"BACKEND_MODEL_1_MAX_INPUT_TOKENS=8192",
"BACKEND_MODEL_1_API_VERSION=NOT USED",
"BACKEND_MODEL_1_DESCRIPTION=NOT USED",
"MUCGPT_VERSION=0.0",
"MUCGPT_COMMIT=12012lf",
"GIT_PYTHON_REFRESH=quiet"
]
[tool.coverage.paths]
source = ["scripts", "app"]
[tool.coverage.report]
show_missing = true