Files
rag-technical-docs-assistant/pyproject.toml
11linear11 a73a496c54 feat(backend): deliver Phase 3 document and voice integration
Add authenticated upload, review, retry and knowledge-selection HTTP flows with bounded JSON processing and frozen OCR policy.

Preserve Gemini/OpenAI provider selection and fenced lifecycle semantics; retain FAQ preambles and uncertain vision candidates, and expose opt-in uncalibrated voice transport diagnostics.

Include frontend integration examples, aligned contracts and deterministic regressions. Validation: 1767 provider-free tests passed; all 404 PostgreSQL scenarios have passing evidence across the documented runs.
2026-10-09 17:43:52 -04:00

36 lines
1.1 KiB
TOML

[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",
"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]
api = ["fastapi>=0.115,<1", "uvicorn>=0.34,<1", "httpx>=0.27,<1", "python-multipart>=0.0.20,<0.1"]
search = ["langchain-core>=1,<2"]
voice = ["langchain-core>=1,<2", "websockets>=15,<18"]
embedding = ["tiktoken>=0.8,<1"]
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"]