RegTech / README.md
bardd's picture
Upload 48 files
916ecde verified
metadata
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.

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.