58 lines
1.2 KiB
TOML
58 lines
1.2 KiB
TOML
[project]
|
|
name = "knowledge-pipeline"
|
|
version = "0.1.0"
|
|
description = "RAG Pipeline for document chunking, embedding, and vector search"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
authors = [
|
|
{ name = "Anibal Angulo", email = "A8065384@banorte.com" }
|
|
]
|
|
dependencies = [
|
|
# Core dependencies
|
|
"google-cloud-aiplatform>=1.106.0",
|
|
"google-cloud-storage>=2.19.0",
|
|
"pydantic>=2.11.7",
|
|
"pydantic-settings[yaml]>=2.10.1",
|
|
# Chunking
|
|
"chonkie>=1.1.2",
|
|
"tiktoken>=0.7.0",
|
|
"langchain>=0.3.0",
|
|
"langchain-core>=0.3.0",
|
|
# Document processing
|
|
"markitdown[pdf]>=0.1.2",
|
|
"pypdf>=6.1.2",
|
|
"pdf2image>=1.17.0",
|
|
# Utils
|
|
"typer>=0.16.1",
|
|
"pydantic-ai>=0.0.5",
|
|
]
|
|
|
|
[project.scripts]
|
|
knowledge-pipeline = "knowledge_pipeline.cli:app"
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.8.3,<0.9.0"]
|
|
build-backend = "uv_build"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8.4.1",
|
|
"ruff>=0.12.10",
|
|
"ty>=0.0.18",
|
|
]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["I", "F"]
|
|
|
|
[tool.pytest.ini_options]
|
|
addopts = [
|
|
"--strict-markers",
|
|
"--tb=short",
|
|
"--disable-warnings",
|
|
]
|
|
markers = [
|
|
"unit: Unit tests",
|
|
"integration: Integration tests",
|
|
"slow: Slow running tests",
|
|
]
|