-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
58 lines (48 loc) · 1.39 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
[tool.ruff]
# description of all rules are available on https://docs.astral.sh/ruff/rules/
lint.select = ["D", "E", "F", "W", "C", "S", "I", "TCH", "SLOT", "RUF", "C90", "N", "YTT", "ASYNC", "TRIO"]
# we need to check 'mood' of all docstrings, this needs to be enabled explicitly
lint.extend-select = ["D401"]
lint.ignore = []
target-version = "py311"
lint.pydocstyle.convention = "google"
line-length = 100
[tool.mypy]
disable_error_code = ["union-attr", "return-value", "arg-type", "import-untyped"]
ignore_missing_imports = true
[tool.pdm]
distribution = false
[tool.pdm.dev-dependencies]
dev = [
"black==24.10.0",
"mypy==1.12.0",
"ruff==0.6.9",
"types-requests==2.32.0.20240622"
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project.optional-dependencies]
cpu = [
"torch @ https://download.pytorch.org/whl/cpu/torch-2.3.1%2Bcpu-cp311-cp311-linux_x86_64.whl",
]
gpu = [
"torch==2.3.1",
]
[project]
name = "lightspeed-rag-content"
version = "0.1.0"
description = "RAG content for OpenShift LightSpeed."
authors = []
dependencies = [
"PyYAML==6.0.1",
"huggingface_hub==0.23.4",
"llama-index==0.10.62",
"llama-index-vector-stores-faiss==0.1.2",
"llama-index-embeddings-huggingface==0.2.2",
"llama-index-readers-file==0.1.30",
"faiss-cpu==1.8.0.post1",
]
requires-python = "==3.11.*"
readme = "README.md"
license = {file = "LICENSE"}