feat(ingestion): add Phase 1 database and application foundation
Add the scoped PostgreSQL/pgvector schema, independent ingestion settings and ports, embedding profile checks, and trusted administrator bootstrap. Include repository contracts and guidance, organized provider-free and PostgreSQL tests, deployment setup, and byte-preserving migration attributes. Validation: 163 tests passed; all 48 PostgreSQL cases passed with pgvector Python 0.5.0 and 0.3.6. No production schema or historical metadata was changed.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
[build-system]
|
||||
requires = ["setuptools>=75"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "rag-technical-docs-assistant"
|
||||
version = "0.1.0"
|
||||
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",
|
||||
"pydantic-settings>=2.7,<3", "argon2-cffi>=23.1,<26",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = ["pytest>=8.3,<10"]
|
||||
prototype = [
|
||||
"fastapi>=0.115,<1", "uvicorn>=0.34,<1", "langgraph>=1,<2",
|
||||
"langchain>=1,<2", "langchain-openai>=1,<2", "langchain-chroma>=1,<2",
|
||||
"langchain-community>=0.4,<1", "langchain-text-splitters>=1,<2",
|
||||
"chromadb>=1,<2", "fastembed>=0.7,<1",
|
||||
]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["app*"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
addopts = "-ra"
|
||||
markers = ["postgres: requires an isolated PostgreSQL database with pgvector"]
|
||||
Reference in New Issue
Block a user