-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
40 lines (31 loc) · 1.29 KB
/
.env.example
File metadata and controls
40 lines (31 loc) · 1.29 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
# file: .env.example
# Copy to .env and fill values as needed. Do not commit real secrets.
# Optional YAML config path
PHONEINT_CONFIG=
# Logging
PHONEINT_LOG_LEVEL=INFO
PHONEINT_JSON_LOGGING=0
# Default region when the input number is not in E.164 form
PHONEINT_DEFAULT_REGION=US
# HTTP behavior
PHONEINT_HTTP_TIMEOUT_SECONDS=10
PHONEINT_HTTP_MAX_RETRIES=2
PHONEINT_HTTP_BACKOFF_BASE_SECONDS=0.5
PHONEINT_HTTP_BACKOFF_MAX_SECONDS=8
PHONEINT_HTTP_RATE_LIMIT_PER_HOST_PER_SECOND=1
# Cache
PHONEINT_CACHE_ENABLED=1
PHONEINT_CACHE_PATH=.cache/phoneint.sqlite3
PHONEINT_CACHE_TTL_SECONDS=3600
# Google Custom Search (optional)
# You must create your own key/CX and comply with Google's terms.
GCS_API_KEY=
GCS_CX=
# Truecaller (optional; PII-capable)
# Requires official/commercial Truecaller API credentials and lawful basis + explicit consent.
ENABLE_TRUECALLER=0
TRUECALLER_API_KEY=
# Optional: scoring weights override (JSON object)
# PHONEINT_SCORE_WEIGHTS={"found_in_scam_db":60,"voip":15,"found_in_classifieds":15,"business_listing":-10,"age_of_first_mention_per_year":-2}
# Optional: owner intelligence confidence weights override (JSON object)
# PHONEINT_OWNER_CONFIDENCE_WEIGHTS={"voip":25,"business_listing":15,"classified_ad":10,"scam_report":5,"pii_confirmed":50,"multiple_sources":10,"evidence_any":5}