No description
  • Python 98.8%
  • Makefile 0.6%
  • Dockerfile 0.6%
Find a file
2026-06-27 19:22:22 +05:00
src/app feat: kind 2026-06-27 19:22:22 +05:00
tests feat: kind 2026-06-27 19:22:22 +05:00
.env.example feat: embedings 2026-06-27 15:36:59 +05:00
.gitignore feat: init 2026-06-27 09:52:42 +05:00
Dockerfile fix: socket 2026-06-27 13:31:50 +05:00
Makefile feat: init 2026-06-27 09:52:42 +05:00
pyproject.toml feat: embedings 2026-06-27 15:36:59 +05:00
README.md feat: init 2026-06-27 09:52:42 +05:00
uv.lock feat: embedings 2026-06-27 15:36:59 +05:00

Matching Worker

Python worker that normalizes extracted price item names and matches them to the medical services catalog.

Run

uv sync
uv run pytest
uv run python -m app.main

Optional debug API:

uv run uvicorn app.health:app --host 0.0.0.0 --port 8082

Configuration

See .env.example. Key settings:

  • DATABASE_URL
  • QUEUE_KIND=redis_streams
  • REDIS_URL
  • AUTO_MATCH_THRESHOLD=0.90
  • REVIEW_MATCH_THRESHOLD=0.70
  • TOP_N_CANDIDATES=5

Streams

Consumes MatchDocumentItemsRequested from QUEUE_TOPIC_MATCH_ITEMS and publishes item events, ReviewRequired, and ValidateDocumentItemsRequested.