File size: 1,170 Bytes
8d712fe a572e71 8d712fe a572e71 8d712fe a572e71 916ecde a572e71 916ecde a572e71 916ecde a572e71 916ecde a572e71 916ecde a572e71 916ecde a572e71 916ecde a572e71 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | ---
title: RegTechDemo
emoji: "🛡️"
colorFrom: blue
colorTo: green
sdk: docker
app_port: 8080
pinned: false
---
# TechReg Compliance Intelligence (HitSafe.ai)
This Space hosts the **HitSafe.ai** compliance screening engine for UK fintech teams.
Current v2 runtime model:
- parallel `legal_basis + FCA + CMA + PRA` first pass
- validation arbitration
- one full retry pass when validation flags unresolved applicability, citation, or conflict issues
Architecture notes live in [ARCHITECTURE.md](./ARCHITECTURE.md).
## Deployment
This Space uses the **Docker** SDK on port **8080**.
### Required secrets
- `GEMINI_API_KEY`: Your Google Gemini API key
- `LANGSMITH_API_KEY`: Your LangSmith API key if tracing is enabled
### Recommended runtime variables
- `LANGSMITH_TRACING=true`
- `LANGSMITH_PROJECT=regtechdemo-hf-v2`
- `LANGSMITH_TRACE_USER_AD_COPY=true`
- `LANGSMITH_TRACE_RAW_REQUEST=true`
- `GEMINI_CLI_BINARY=gemini`
- `MAX_IMAGE_BYTES=8388608`
- `MAX_BATCH_IMAGES=20`
- `MAX_PARALLEL_WORKERS=4`
- `PIPELINE_STAGE_WORKERS=4`
- `VALIDATION_RETRY_PASSES=1`
- `GEMINI_TIMEOUT_SEC=90`
## Guidance
This tool provides guidance only and is not legal advice.
|