feat(ingestion): extend domain types, ports, and configuration for ingestion pipeline
- Add ExtractedBlock, ExtractionEnvelope, and StagedDocument data models in types.py - Define ingestion repository, file store, vision, and extraction ports in ports.py - Extend IngestionSettings with limits, policies, vision, and embedding configuration - Update database compatibility verification to support worker and review schema revisions - Add PyMuPDF, Pillow, defusedxml, and tiktoken dependencies to pyproject.toml
This commit is contained in:
@@ -9,10 +9,12 @@ requires-python = ">=3.11"
|
||||
dependencies = [
|
||||
"SQLAlchemy>=2.0.36,<2.1", "psycopg[binary]>=3.2.3,<4",
|
||||
"alembic>=1.14,<2", "pgvector>=0.3.6,<1",
|
||||
"PyMuPDF>=1.26,<2", "Pillow>=12.2,<13", "defusedxml>=0.7.1,<1",
|
||||
"pydantic-settings>=2.7,<3", "argon2-cffi>=23.1,<26",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
embedding = ["tiktoken>=0.8,<1"]
|
||||
test = ["pytest>=8.3,<10"]
|
||||
prototype = [
|
||||
"fastapi>=0.115,<1", "uvicorn>=0.34,<1", "langgraph>=1,<2",
|
||||
|
||||
Reference in New Issue
Block a user