-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
52 lines (47 loc) · 1.24 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
[tool.poetry]
name = "embedding-models"
version = "0.1.0"
description = ""
authors = ["Togglecorp Dev <[email protected]>"]
license = "GNU Affero General Public License v3.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.12"
langchain = "^0.2.15"
langchain-community = "^0.2.14"
langchain-openai = "^0.1.23"
sentence-transformers = "^3.1.0"
torch = {url = "https://download.pytorch.org/whl/cpu/torch-2.2.0%2Bcpu-cp312-cp312-linux_x86_64.whl#sha256=8258824bec0181e01a086aef5809016116a97626af2dcbf932d4e0b192d9c1b8"}
fastapi = "^0.114.0"
uvicorn = "^0.22.0"
sentry-sdk = "^1.5.8"
huggingface-hub = "^0.24.7"
python-dotenv = "1.0.1"
einops = "^0.8.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 125
# NOTE: Update in .pre-commit-config.yaml as well
extend-exclude = "(__pycache__|.*snap_test_.*\\.py|.+\\/.+\\/migrations\\/.*)"
[tool.isort]
profile = "black"
multi_line_output = 3
skip = [
"**/__pycache__",
"**/snap_test_*.py",
".venv/",
"**/migrations/*.py",
]
[tool.pyright]
exclude = [
"**/__pycache__",
"**/snap_test_*.py",
".venv/",
"**/migrations/*.py",
]
reportMissingImports = true
reportMissingTypeStubs = false
venvPath = "."
venv = ".venv"