File size: 1,798 Bytes
0702eb8
 
2483bce
0702eb8
 
 
061f010
0702eb8
 
 
af2f78e
0702eb8
63dc01e
0702eb8
7d9d30d
 
0702eb8
7d9d30d
b4297ca
 
 
fdaf912
 
63dc01e
 
 
0702eb8
7d9d30d
 
f4b6bdc
7d9d30d
d3d08fa
7d9d30d
f4b6bdc
52ec1f9
7d9d30d
 
 
 
 
 
 
 
52ec1f9
7d9d30d
 
 
52ec1f9
 
 
 
 
0702eb8
 
 
 
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
[tool.poetry]
name = "backend"
version = "0.3.0"
description = ""
authors = ["xKhronoz"]
readme = "README.md"
packages = [{ include = "backend" }]

[tool.poetry.dependencies]
python = "^3.11,<3.12"
fastapi = "^0.109.1"
uvicorn = { extras = ["standard"], version = "^0.23.2" }
pypdf = "^4.3.0"
python-dotenv = "^1.0.0"
llama-cpp-python = "^0.2.52"
transformers = "^4.38.1"
docx2txt = "^0.8"
doc2docx = "^0.2.4"
supabase = "^2.4.0"
pyjwt = "^2.8.0"
vecs = "^0.4.3"
python-multipart = "^0.0.9"
asyncpg = "^0.29.0"
llama-index = "^0.10.55"
llama-index-vector-stores-supabase = "^0.1.5"
llama-index-llms-llama-cpp = "^0.1.4"

[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
# Dev Dependencies here
flake8 = "^7.0.0"
pytest = "^8.0.2"

# For CPU torch version: Windows and Linux
# NOTE: To uncomment out the following lines, should you need to use the CPU version of torch
# [tool.poetry.group.torch-cpu]
# optional = true
# [tool.poetry.group.torch-cpu.dependencies]
# torch = [
#     { url = "https://download.pytorch.org/whl/cpu/torch-2.1.1%2Bcpu-cp311-cp311-win_amd64.whl", markers = "sys_platform == 'win32'" },
#     { url = "https://download.pytorch.org/whl/cpu/torch-2.1.1%2Bcpu-cp311-cp311-linux_x86_64.whl", markers = "sys_platform == 'linux'" },
# ]

# For Cuda torch version: Windows and Linux
[tool.poetry.group.torch-cuda]
optional = true
[tool.poetry.group.torch-cuda.dependencies]
torch = [
    { url = "https://download.pytorch.org/whl/cu121/torch-2.1.1%2Bcu121-cp311-cp311-win_amd64.whl", markers = "sys_platform == 'win32'" },
    { url = "https://download.pytorch.org/whl/cu121/torch-2.1.1%2Bcu121-cp311-cp311-linux_x86_64.whl", markers = "sys_platform == 'linux'" },
]

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"