-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
79 lines (68 loc) · 2.89 KB
/
Copy path.env.example
File metadata and controls
79 lines (68 loc) · 2.89 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
CREDITAI_DB_NAME=creditai
CREDITAI_DB_USER=creditai
CREDITAI_DB_PASSWORD=change-me
CREDITAI_DB_PORT=5432
# Gate MRM (promocao a producao)
ModelPromotion__MinAuc=0.65
ModelPromotion__MinGini=0.35
ModelPromotion__MaxBrier=0.25
ModelPromotion__MaxPsi=0.25
ModelPromotion__MaxPdCalibrationGap=0.05
# Model risk (challenger + drift PSI)
ModelRisk__PsiAlertThreshold=0.25
ModelRisk__PdDivergenceThreshold=0.05
ModelRisk__RollingWindowSize=20
ModelRisk__MinObservationsForPsi=5
# LLM OpenAI-compatible (vLLM / llama.cpp / …). Use LLM_*.
LLM_ENABLED=true
LLM_BASE_URL=http://localhost:8000
LLM_MODEL=qwen3.5:9b
# ContextMemory (opcional). Self-host: https://github.com/Kortexio/ContextMemory
# Ou: docker compose -f docker-compose.yml -f docker-compose.contextmemory.yml up -d
# Com BaseUrl+ApiKey, narrativa/parsing usam o gateway; sem ApiKey mantém LLM directo (Llm:*).
CONTEXT_MEMORY_BASE_URL=http://localhost:5100
CONTEXT_MEMORY_APP_ID=creditai
CONTEXT_MEMORY_API_KEY=
CONTEXT_MEMORY_USER_ID=creditai-jobs
# Integrações — Stub (local) ou Production (URLs reais)
Integrations__Crc__Mode=Stub
# Integrations__Crc__Mode=Production
# Integrations__Crc__BaseUrl=https://bpnet.example.bportugal.pt
Integrations__Cirbe__Mode=Stub
# Integrations__IberianExpansion__EnableSpainExpansion=true
Integrations__MoodysEdf__Mode=Stub
Integrations__Esg__Mode=Stub
# Integrations__Citius__Mode=Manual (portal sem API, entrada manual apenas)
Integrations__Yapily__Mode=Stub
# Integrations__Yapily__Mode=Production
Integrations__Yapily__BaseUrl=https://api.yapily.com
Integrations__Yapily__ApplicationId=your-application-uuid
Integrations__Yapily__ApiKey=your-application-secret
Integrations__Yapily__HealthPath=/institutions
Integrations__Orbis__Mode=Stub
Integrations__Sabi__Mode=Stub
Integrations__Ies__Mode=Stub
Integrations__Creditsafe__Mode=Stub
Integrations__WorldCheck__Mode=Stub
# Integrations__KeyVault__VaultUri=https://my-kv.vault.azure.net/
Integrations__Tenant__EnablePostgreSqlRls=false
# Scoring ONNX (Azure ML export)
Scoring__Onnx__Enabled=false
Scoring__Onnx__ArtifactsDirectory=artifacts/onnx
Scoring__Onnx__UseSimulatorWhenArtifactMissing=false
# Batch EWI pos-concessao
EarlyWarning__Batch__Enabled=true
EarlyWarning__Batch__IntervalMinutes=60
# Tenant (RLS) — enviar header X-Tenant-Id em cada pedido API
# X-Tenant-Id=00000000-0000-0000-0000-000000000001
# Application Insights (opcional — telemetria operacional API)
# APPLICATIONINSIGHTS_CONNECTION_STRING=InstrumentationKey=...
# Autenticacao — Development (local) ou Entra (producao)
# API + Web: Authentication__Mode=Development | Entra
Authentication__Mode=Development
# Entra ID (quando Mode=Entra)
# Authentication__Authority=https://login.microsoftonline.com/{tenant-id}/v2.0
# Authentication__Audience=api://creditai
# Authentication__ClientId={web-app-client-id}
# Authentication__ClientSecret={web-app-client-secret}
# Authentication__ApiScope=api://creditai/access_as_user