83a3f63a37
Extends scripts/fetch_national_insurance_law.py with a --regulations mode that pulls all canonical (non-redirect) תקנות הביטוח הלאומי pages from the MediaWiki API and writes <slug>.txt + <slug>.txt.meta.json pairs ready for the existing scan-inbox cron. Used to seed the live insurance KB with 92 regulations (~1,500 chunks, ~22MB Postgres) on dev. Wikisource's redirect graph dedups spelling variants (קיצבה/קצבה, etc.) for free. Bumps version to 0.2.0. Refs Task Master #3 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
32 lines
684 B
TOML
32 lines
684 B
TOML
[project]
|
|
name = "shira-hermes"
|
|
version = "0.2.0"
|
|
description = "Shira AI Assistant — Hermes Agent backend for EspoCRM SmartAssistant"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi>=0.115.0",
|
|
"uvicorn[standard]>=0.32.0",
|
|
"httpx>=0.27.0",
|
|
"pydantic>=2.10.0",
|
|
"openai>=1.50.0",
|
|
"pyyaml>=6.0",
|
|
"pymupdf>=1.24.0",
|
|
"asyncpg>=0.30.0",
|
|
"python-docx>=1.1.2",
|
|
"boto3>=1.35.0",
|
|
"python-multipart>=0.0.9",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.24.0",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["api", "mcp_server"]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|