89515ca5cc
Bugfix/row count * Updated lesser of statements filter; Updated lesser of prompt related to GLOBAL and STANDALONE * Updated validate reimbursement prompt * Update lesser of check prompt related to GLOBAL assignment * Restructured VALIDATE_REIMBURSEMENTS_PROMPT * Updated reimbursement primary; validate reimbursement prompt * Updated reimb primary prompt and validate reimb prompt * Code cleaned up. Updated unittest cases * Updated validate reimbursement prompt * Added logging * Update on validate reimbursement prompt; Code clean up * Fix Black version conflict in dependencies * Add Black back to dependencies * Apply black formatting and update uv.lock * Resolve conflict * Merge branch 'DEV' into bugfix/row_count Approved-by: Katon Minhas
60 lines
1.3 KiB
TOML
60 lines
1.3 KiB
TOML
[project]
|
|
name = "doczy-field-extraction"
|
|
version = "0.1.0"
|
|
description = "Contract field extraction using LLMs"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"pandas>=2.2.3",
|
|
"boto3>=1.35.40",
|
|
"anthropic>=0.36.0",
|
|
"python-dotenv>=1.0.1",
|
|
"psutil>=6.1.0",
|
|
"rapidfuzz>=3.10.1",
|
|
"pyxlsb>=1.0.10",
|
|
"openpyxl>=3.1.5",
|
|
"langchain>=0.3.14",
|
|
"langchainhub>=0.1.21",
|
|
"langchain-aws>=0.2.11",
|
|
"langchain-text-splitters>=0.3.5",
|
|
"langchain-community>=0.3.15",
|
|
"nltk>=3.9.1",
|
|
"rank-bm25>=0.2.2",
|
|
"sentence-transformers>=3.4.1",
|
|
"faiss-cpu>=1.10.0",
|
|
"word2number>=1.1",
|
|
"orjson>=3.10.16",
|
|
"pymupdf>=1.25.5",
|
|
"pillow>=11.2.1",
|
|
"xlsxwriter>=3.2.9",
|
|
"langchain-classic>=1.0.1",
|
|
"black[jupyter]>=25.12.0",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"mypy>=1.12.0",
|
|
"jupyter>=1.1.1",
|
|
"isort>=5.13.2",
|
|
"pytest>=8.3.3",
|
|
"pytest-mock>=3.14.0",
|
|
]
|
|
test = [
|
|
"pytest>=8.3.3",
|
|
"pytest-mock>=3.14.0",
|
|
"pytest-cov>=6.0.0",
|
|
]
|
|
|
|
[tool.black]
|
|
line-length = 88
|
|
target-version = ['py312']
|
|
|
|
[tool.mypy]
|
|
disable_error_code = ["import-untyped","assignment","name-defined","call-arg","var-annotated","attr-defined","arg-type","return-value"]
|
|
exclude = ["scripts/"]
|
|
explicit_package_bases = true
|
|
|
|
[tool.pytest.ini_options]
|
|
pythonpath = ["."]
|
|
testpaths = ["src/tests"]
|