File size: 2,636 Bytes
c4ef1cf
ad00bb1
c4ef1cf
 
 
 
 
 
 
 
 
 
2102157
c4ef1cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cec9476
c4ef1cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
112
113
114
115
116
117
118
119
120
121
[build-system]
requires = ["hatchling>=1.21.0"]
build-backend = "hatchling.build"

[project]
name = "visual-rag-toolkit"
version = "0.1.0"
description = "End-to-end visual document retrieval with ColPali, featuring two-stage pooling for scalable search"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
authors = [
    {name = "Ara Yeroyan"}
]
keywords = [
    "visual-rag",
    "document-retrieval",
    "colpali",
    "colbert",
    "visual-search",
    "pdf-processing",
    "multimodal-rag",
    "qdrant",
    "late-interaction"
]
classifiers = [
    "Development Status :: 4 - Beta",
    "Intended Audience :: Developers",
    "Intended Audience :: Science/Research",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Topic :: Scientific/Engineering :: Artificial Intelligence",
    "Topic :: Scientific/Engineering :: Image Processing",
]

dependencies = [
    "torch>=2.0.0",
    "numpy>=1.21.0",
    "Pillow>=9.0.0",
    "tqdm>=4.60.0",
    "pyyaml>=6.0",
    "python-dotenv>=0.19.0",
]

[project.optional-dependencies]
# Core ColPali embedding support
embedding = [
    "colpali-engine>=0.3.0",
    "transformers>=4.35.0",
]

# PDF processing
pdf = [
    "pdf2image>=1.16.0",
    "pypdf>=3.0.0",
]

# Vector database (Qdrant)
qdrant = [
    "qdrant-client>=1.7.0",
]

# Image CDN (Cloudinary)
cloudinary = [
    "cloudinary>=1.30.0",
]

# Streamlit UI demo
ui = [
    "streamlit>=1.25.0",
    "httpx>=0.24.0",
]

# All dependencies
all = [
    "visual-rag-toolkit[embedding,pdf,qdrant,cloudinary,ui]",
]

# Development dependencies
dev = [
    "pytest>=7.0.0",
    "pytest-cov>=4.0.0",
    "black>=23.0.0",
    "ruff>=0.1.0",
    "mypy>=1.0.0",
]

[project.scripts]
visual-rag = "visual_rag.cli.main:main"

[project.urls]
Homepage = "https://github.com/your-org/visual-rag-toolkit"
Documentation = "https://github.com/your-org/visual-rag-toolkit#readme"
Repository = "https://github.com/your-org/visual-rag-toolkit"
Issues = "https://github.com/your-org/visual-rag-toolkit/issues"

[tool.hatch.build.targets.wheel]
packages = ["visual_rag", "benchmarks"]

[tool.ruff]
line-length = 100
target-version = "py39"

[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = ["E501"]

[tool.black]
line-length = 100
target-version = ["py39", "py310", "py311", "py312"]

[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true