-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (54 loc) · 1.74 KB
/
Copy pathpyproject.toml
File metadata and controls
63 lines (54 loc) · 1.74 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
[project]
name = "morag"
version = "0.1.0"
description = ""
authors = [
{name = "chukanov",email = "chukanov@gmail.com"}
]
requires-python = ">=3.11,<4.0"
# Core deps — нужны для retrieval-pipeline (LLMClient + HttpEmbedder + HttpGteSparseEmbedder).
# Установка: `pip install morag` или `pip install morag[indexing]` для полной индексации.
dependencies = [
"openai>=1.0.0", # AsyncOpenAI для LLMClient + HttpEmbedder
"httpx>=0.27.0", # AsyncClient для HttpGteSparseEmbedder
"numpy>=2.0.0", # вектора + math
]
[project.optional-dependencies]
# Полный indexing pipeline: чанкеры, sources, токенайзеры, конфиг, scheduler.
indexing = [
"tiktoken>=0.9.0",
"transformers>=4.41.0",
"qdrant-client~=1.17",
"pyyaml>=6.0",
"atlassian-python-api>=3.41.0",
"markdownify>=0.13.0",
"apscheduler>=3.10.0,<4.0",
"razdel>=0.5.0,<0.6.0",
"nltk>=3.9.3,<4.0.0",
"pymupdf>=1.25.0",
"markdown-it-py>=3.0.0",
"beautifulsoup4>=4.12.0",
# Control-plane HTTP в cmd_serve. Console обращается через эти эндпоинты
# вместо спавна subprocess'ов.
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
]
[tool.poetry.group.dev.dependencies]
pytest = "^8.0"
pytest-asyncio = "^1.0"
ruff = "^0.11.0"
# https://docs.astral.sh/ruff/settings/#top-level
[tool.ruff]
line-length = 100
indent-width = 4
show-fixes = true
# https://docs.astral.sh/ruff/settings/#format
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
[tool.pytest.ini_options]
asyncio_mode = "auto"
pythonpath = ["src"]
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"