Switch to agent arch

This commit is contained in:
2026-02-20 08:59:43 +00:00
parent a53f8fcf62
commit 259a8528e3
113 changed files with 788 additions and 7820 deletions

View File

@@ -8,10 +8,16 @@ authors = [
]
requires-python = "~=3.12.0"
dependencies = [
"google-genai==1.45.0",
"pip>=25.3",
"aiohttp>=3.13.3",
"fastapi>=0.129.0",
"gcloud-aio-auth>=5.4.2",
"gcloud-aio-storage>=9.6.1",
"google-cloud-aiplatform>=1.138.0",
"google-cloud-storage>=3.9.0",
"pydantic-ai-slim[google]>=1.62.0",
"pydantic-settings[yaml]>=2.10.1",
"python-dotenv>=1.0.0",
"structlog>=25.5.0",
"uvicorn>=0.41.0",
]
[project.scripts]
@@ -21,59 +27,19 @@ ragops = "rag_eval.cli:app"
requires = ["uv_build>=0.8.3,<0.9.0"]
build-backend = "uv_build"
[tool.uv.workspace]
members = [
"apps/*",
"packages/*",
]
[tool.uv.sources]
document-converter = { workspace = true }
search-eval = { workspace = true }
pdf-ingest = { workspace = true }
llm = { workspace = true }
embedder = { workspace = true }
file-storage = { workspace = true }
utils = { workspace = true }
vector-search = { workspace = true }
synth-gen = { workspace = true }
keypoint-eval = { workspace = true }
chunker = { workspace = true }
index-gen = { workspace = true }
dialogflow = { workspace = true }
integration-layer = { workspace = true }
[dependency-groups]
dev = [
"dialogflow",
"integration-layer",
"ipykernel>=6.30.1",
"mypy>=1.17.1",
"pytest>=8.4.1",
"ruff>=0.12.10",
"ty>=0.0.1a19",
"vector-search",
]
processor = [
"index-gen",
]
evals = [
"keypoint-eval",
"search-eval",
"synth-gen",
]
rag = [
"embedder",
"fastapi[standard]>=0.116.1",
"file-storage",
"llm",
"numpy>=2.3.5",
"structlog>=25.5.0",
"vector-search",
]
pipeline = [
"kfp>=2.15.2",
]
[tool.ruff]
exclude = ["scripts"]
[tool.ty.src]
exclude = ["scripts"]
[tool.ruff.lint]
extend-select = ["I", "F"]
select = ['ALL']
ignore = ['D203', 'D213', 'COM812']